Re: Rs: Problem with GtkEntry and specials chars

From: Date: Sat, 05 Apr 2008 08:58:09 +0000
Subject: Re: Rs: Problem with GtkEntry and specials chars
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8224@lists.php.net to get a copy of this message
Check your php-cli.in file, you may have a line : php-gtk.codepage = UTF-8 This will allow you to use any special character Then to get and set text for your GtkEntry you can use utf8_encode an utf8_decode... If you use a database to store data, you can also set your database to use UTF8 text. Hope this help, Benjamin. Raphaël Terrettaz a écrit :
Hello ! I've a problem with GtkEntry and special chars, like èï, ... I've try the example code given for the GtkEntry constructor (example 57, http://gtk.php.net/manual/en/gtk.gtkentry.constructor.php) If I write the text "ééèè" in the GtkEntry and push the button, the console text will be "ééee". The last chars have been changed. Is there any way to get special chars ? Thank you ! Raphaël Terrettaz


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