Paul Eggert wrote: > Is the fix to call uselocale (0) rather than setlocale (LC_ALL, NULL), on > platforms that have uselocale?
It's an interesting thought. But * In order to get the global locale, you would need to do three calls to uselocale: locale_t loc = uselocale (NULL); locale_t global = uselocale (LC_GLOBAL_LOCALE); uselocale (loc); * It won't work, because uselocale does not exist or does not work on some of the listed platforms: NetBSD, Haiku, MSVC. Bruno