Re: Unicode/UTF-8 Characters

From: Date: Wed, 02 Jun 2010 13:00:03 +0000
Subject: Re: Unicode/UTF-8 Characters
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8497@lists.php.net to get a copy of this message
On 31/05/10 10:28, Jörg Hoffmann wrote:
Hello, i need to display this chars from Courier New: ← and √ (221A and 2190) but when I try to display them I get some weird chars shown. I have created the output with following code: $text = New GtkLabe(“Two special chars: ←√”); $text->modify_font(new PangoFontDescription("Courier New Bold 13")); And then connected it to get it displayed I´m using php-gtk 5.2.5 on Windows 7 Text editor is good old Notepad, file charset is UTF-8 Greetings Jörg
Allo. Tell PHP-GTK to use the UTF-8 charset in your loaded configuration file. <code> [php-gtk] php-gtk.codepage = "UTF-8" </code> -- Mark Skilbeck mahcuz.com | gtk.php.net | pecl.php.net/cairo | docs.php.net

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