gtk2, gettext and accentuated characters...
- From: "Vincent Torri invite Th. Colin" <Vincent Torri math u-bordeaux fr>
- To: gtk-app-devel-list gnome org
- Subject: gtk2, gettext and accentuated characters...
- Date: Tue, 13 Jan 2004 01:48:41 +0100 (CET)
I have written a small gui with gtk2. The language of the all the texts
are in english. As I am french and as some french people use it, i decided
to try to learn how to use gettext some days ago.
Well, Everything works fine except accentuated characters. For exemple,
instead of é, i get two characters that are not on my keyboard :)
Here is what's in my files :
in fr.po, the header is
"POT-Creation-Date: 2004-01-11 12:58+0100\n"
"PO-Revision-Date: 2004-01-11 13:19+0100\n"
"Last-Translator: Vincent TORRI \n"
"Language-Team: fr <LL li org>\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
and an exemple of label with accentuated character :
in the gui.c :
root_menu = gtk_menu_item_new_with_mnemonic
(g_locale_to_utf8(_("_Preferences"), -1, NULL, NULL, NULL));
of course, _() is defined by gettext()
If I have forgotten an important information in order to understand my
problem, please tell me.
I have found no informations about that on the mailing lists and on the
Does someone see where i am wrong ?
] [Thread Prev