Re: non-UTF-8 characters in GtkEntry

From: Date: Fri, 12 Jan 2007 17:05:00 +0000
Subject: Re: non-UTF-8 characters in GtkEntry
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3572@lists.php.net to get a copy of this message
Hi Tom, You need to set your codepage to stop that happening, e.g. php-gtk.codepage = CP1250 ;works on Windows only (in your php.ini) ----- Original Message ----- From: "Tom" <tom@trappart.de> To: <php-gtk-dev@lists.php.net> Sent: Friday, January 12, 2007 4:54 PM Subject: [PHP-GTK-DEV] non-UTF-8 characters in GtkEntry
Hi, If a user types "à" (Picture: www.woxnet.org/files/special_char.gif) into a GtkTextBuffer or GtkEntry, my php-gtk app crashes after the following warning: Warning: GtkEntry::get_text(): could not convert return value from UTF-8 It is just the same with the dialogmessage demo. Is there a way to disable non-UTF-8 input? -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#3572) next »