Re: Invalid UTF-8... the comeback :-)

On Thu, 27 Feb 2003 13:31:42 -0500
Noah Levitt <nlevitt columbia edu> wrote:

This program works for me:


Of course, it has to be encoded in UTF-8. If your strings
are in some other encoding, you can convert them using
g_iconv or related functions. Havoc's thing is a bit of a
hack that only works for iso8859-1, if I understand it

I solved the problem doing:

label = g_convert (tmp, strlen (tmp), "UTF-8", "LATIN1", NULL, NULL,

I don't know if it's the right way, but at least it works.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]