How work g_locale_to_utf8_() on pb (GTK) ?
Posted: Wed Aug 08, 2007 5:20 pm
i have made an single menu with gtk, i use this char ( é à î ô , etc... )
i wan't convert this in utf8 with g_locale_to_utf8_() function :
and
doesn't work because gtk_label_new() need a string as params , and g_locale...() return int...
and with peeks() doesn't work too...
Thx for any help.
i wan't convert this in utf8 with g_locale_to_utf8_() function :
Code: Select all
Utf8 = g_locale_to_utf8_("French is hard : é è à ...",-1,#null,#null,#null)Code: Select all
pLabel=gtk_label_new(sUtf8)and with peeks() doesn't work too...
Thx for any help.