Re: Pango-WARNING

From: Date: Mon, 19 Dec 2005 11:45:40 +0000
Subject: Re: Pango-WARNING
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6433@lists.php.net to get a copy of this message
you can use php.net/iconv or php.net/mb_convert_encoding to convert the text into UTF-8 encoding and then pass it to gtk widgets. On 12/19/05, LIRM@altecnet.gr <LIRM@altecnet.gr> wrote: > > Hi all. > > I have a problem here! > > I put "php-gtk.codepage = CP1253" in php.ini, to be able to use greek in > my > scripts but a problem remains. I get a warning: > > (main.php:2692): Pango-WARNING **: Invalid UTF-8 string passed to > pango_layout_set_text() > > when I use the append method with greek characters like this > > $TreeStore->append($node, array('greek characters', 'xxx')); > > and these characters don't show in the tree > > Any idea? > > Minas > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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