On Wed, Feb 3, 2010 at 11:02 PM, Glynn Clements <[email protected]> wrote: > > Markus Neteler wrote: > >> > I'm getting an error, that before I was getting: >> > GRASS 6.4.0svn (North-Carolina):~ > >> > (process:4282): Gdk-WARNING **: locale not supported by C library >> > (process:4282): Gtk-WARNING **: Locale not supported by C library. >> > Using the fallback 'C' locale. >> > But it works at least for wxpython translations. Grassmods no. >> > Regarding .UTF-8 and without .UTF-8, it was the same. I thought that this >> > error had something to do wuth UTF-8 but no. >> >> The problem will be the mixture of encodings: > > No it won't. GNU msgfmt always uses UTF-8 in the .mo files, and > converts to the locale's encoding automatically (so that you don't > need separate .mo files for e.g. LANG=es and LANG=es.UTF-8).
Ah, right, you explained it already. >> grasslibs_es.po:"Content-Type: text/plain; charset=ISO-8859-1\n" >> grassmods_es.po:"Content-Type: text/plain; charset=ISO-8859-1\n" >> grasstcl_es.po:"Content-Type: text/plain; charset=UTF-8\n" >> grasswxpy_es.po:"Content-Type: text/plain; charset=UTF-8\n" >> >> @dev: To which encoding should we consolidate this mix? > > ISO-8859-1. Done so in 6.4, 6.5 and 7. Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
