> Bother: what will that do on non-Posix systems, where the 'locale'
> command is not necessarily available, and even if it is, its output is
> generally irrelevant.  E.g., I have a locale.exe on my system that
> came with the Windows port of Git -- it displays the locales which Git
> can handle, but any other native Windows program will not, and in
> particular native Windows programs cannot use UTF-8 as the locale's
> codeset anyway.  I know that some users put the Git's bin directory on
> PATH, so for them invoking 'locale -a' will "succeed", and makeinfo
> will attempt to use the UTF-8 locale.

As long as the output of "locale -a" has either "UTF-8" or "utf8" in
it, it should work fine: the actual name of the locale that is output
won't be used as long as w32_setlocale works.

Reply via email to