UTF problem?

Jan-Oliver Wagner jan@intevation.de
Thu Jan 25 12:27:00 2001


On Thu, Jan 25, 2001 at 11:07:56AM +0100, Werner Koch wrote:

> IIRC, the gettext version for Windows takes UTF8 and translates it
> to the Windows characters set. We should go this way, which might
> mean that we have to convert our .po files from whatever encoding
> they use (de.po Latin-1 or -15) to UTF-8 which is just a simple
> shell one liner.
I applied 'recode latin1..utf-8 de.po' and then 'msgfmt -o de.mo de.po' but it does not work for the windows version of gpa. I then added a conversion (as recommended on http://user.sgic.fi/~tml/gimp/win32/): utf8 = g_convert (string, strlen (string), "UTF-8", "CP850", NULL, NULL, NULL); to simple-gettext.c and it worked quite nice, but I am not sure whether this is a good idea. Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/