> Date: Sat, 23 Jan 2016 11:29:44 +0000
> From: Gavin Smith <[email protected]>
> Cc: "[email protected]" <[email protected]>
> 
> On 23 January 2016 at 01:49, Kiyoshi KANAZAWA
> <[email protected]> wrote:
> > How about deduce the name from `locale -a|grep $LANG` ?
> >
> 
> That's what I've done in the latest revision (SVN 6955).

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.

Is this needed outside of the test suite?  (The subject says "make
check fails", so I thought maybe the problem is limited to the tests.)
If so, I think we should skip that test on Windows (except for Cygwin,
which emulates a Posix system well enough for this matter).

WDYT?

Reply via email to