A bug of gtk i18n?
- From: "Kun Niu" <haoniukun gmail com>
- To: gtk-i18n-list gnome org
- Subject: A bug of gtk i18n?
- Date: Sun, 1 Apr 2007 10:37:52 +0800
Dear all,
I've just finished a simple gtk application.
And I included libintl.h and used gettext.
My window's title showed my native language.
But the label on the button showed two squares.
The title and the label were the same.
And my code is like this:
gtk_window_set_title (GTK_WINDOW(window), _("您好"));
button = gtk_button_new_with_label (_("您好"));
If the characters fail to appear on your system, it doesn't matter.
They just mean hello.
It makes me really confused that one works fine but the other malfunctions.
Would anyone please help me out?
Thanks in advance.
Sincerely,
Kun
- Follow-Ups:
- Re: A bug of gtk i18n?
- From: =?UTF-8?Q?=E0=A4=AE=E0=A4=AF=E0=A4=82=E0=A4=95_?= =?UTF-8?Q?=E0=A4=9C=E0=A5=88=E0=A4=A8_(?= =?UTF-8?Q?makuchaku)?=
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]