Re: Questions and problems with clist

From: Date: Mon, 12 Nov 2001 09:05:01 +0000
Subject: Re: Questions and problems with clist
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-573@lists.php.net to get a copy of this message
Hi all, This is an old post from Geoff Virgo, but i have the same problem today... I have the error (Gdk-WARNING **: gdk_text_size: gdk_nmbstowchar_ts failed) in my Ctree and Clist. To learn php-gtk, i am building a newsreader... so i have a Ctree in my code to show the thread like in Outlook... As you can see with my horrible english, i'm french, and french newsgroups are plenty of special caracters (é,à,è,ê,ç....) and the error occured when i try to insert in a Ctree or a Clist a text that contains one of these numerous caracters. so, as Geoff, i can remove the problem with a pre-traitment of the text with (for exemple): $texte = strtr($texte,"êéèë","eeee"); but this is not clean... and these caracters are necessary... maybe Geoff or someone else have found a solution ?? thanks for the answers, Christian Etuy (PS: am i the only french guy in the list ?) ----- Original Message ----- From: Andrei Zmievski <andrei@ispi.net> To: Geoff A. Virgo <wig@mithril.ca> Cc: <php-gtk-general@lists.php.net> Sent: Wednesday, October 24, 2001 12:18 AM Subject: Re: [PHP-GTK] Questions and problems with clist > At 05:10 PM 10/23/01 -0600, Geoff A. Virgo wrote: > >Yes and no. The problem seemed to be occurring most often during db > >inserts (<loopstart>row from clist -> to db -> remove clist row</loopend>) > >so I took the row removal out of the loop and now just remove the rows all > >at once after the inserts complete. Seems to prevent the problem from > >occurring, so that's the yes bit. However the problem still exists and > >can still occur, so that's the no. > > I would email the gtk-list and ask if anyone has seen this warning before > and what it's all about. > > -Andrei > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

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