Re: GtkText Problem

From: Date: Thu, 29 Nov 2001 17:05:12 +0000
Subject: Re: GtkText Problem
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-760@lists.php.net to get a copy of this message
On Thu, 29 Nov 2001, Rich Payne wrote: > > I've recently come accross some strange behavior in GtkText, now I > think this all started when I upgraded my PC to RH 7.2, though I've since > upgraded gtk+ , php (4.2.0-dev) and php-gtk (CVS) and I only see this with > my php-gtk app. All the lines in a GtkText area have a little square box > after them....I've done a screen shot here: > > http://emperor.api-networks.com/~richp/GtkText-prob.jpg > > If I take the text and paste it into another app like gedit, the boxes go > away. > > Now the text that's being inserted into the GtkText box is the result of > an imap_fetchbody call, and according to its structure the encoding is > 7BIT. > > Anyone? I'm also going to set this up on a Debian unstable box and see if > I get the same results there as I'm fairly sure this all started when I > upgraded to RH 7.2. Try stripping \r (carriage returns) from the text before displaying. -Andrei * All of the above is my opinion, unless specified otherwise. *

« previous php.gtk.general (#760) next »