Unicode/UTF-8 Characters
[email protected] (Jörg Hoffmann) Mon, 31 May 2010 11:28:31 +0200
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <000301cb00a3$a6707c10$f3517430$@eu> |
------=_NextPart_000_0004_01CB00B4.69F94C10
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hello,
i need to display this chars from Courier New: =E2=86=90 and =E2=88=9A =
(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 =3D New GtkLabe(=E2=80=9CTwo special chars: =
=E2=86=90=E2=88=9A=E2=80=9D);
$text->modify_font(new PangoFontDescription("Courier New Bold 13"));
And then connected it to get it displayed
I=C2=B4m using php-gtk 5.2.5 on Windows 7
Text editor is good old Notepad, file charset is UTF-8
=20
Greetings
J=C3=B6rg
------=_NextPart_000_0004_01CB00B4.69F94C10--