[GNC-dev] Early locale initialization

Geert Janssens geert.gnucash at kobaltwit.be
Thu Mar 18 08:54:24 EDT 2021


Op donderdag 18 maart 2021 12:58:28 CET schreef Geert Janssens:
> On Windows the code will first look for environment variables "LC_ALL",
> "LC_MESSAGES" or "LANG" (in that order). If any of those exists it will try
> to convert that to a locale. If that fails it will fall back to the system
> default locale and if that fails it falls through to our main code which
> then defaults to "C".

This is not even true. The way it is currently implemented it won't reach the 
fallback-to-C code at all.

Geert




More information about the gnucash-devel mailing list