Unicode/UTF-8 Characters
| From: | Jörg Hoffmann | Date: | Mon, 31 May 2010 09:28:31 +0000 |
| Subject: | Unicode/UTF-8 Characters | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-8496@lists.php.net to get a copy of this message | ||
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