Bruno Haible <bruno <at> clisp.org> writes:

> > The verdict - the eucJP (and several other) charset is supported only if
> > you have installed it in your version of Windows (newer versions have it
> > installed automatically).  On systems where they are installed, the
> > mbrtowc function works.
> 
> Fixing setlocale() to return info about whether the locale is actually
> supported is perfect. With this, gnulib's autoconf tests probably don't
> need to be modified.
Confirmed:

Before today, with the tables uninstalled I saw this, with subsequent test 
failures during 'make check':

checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking whether mbrtowc has a correct return value... no


With today's patch to cygwin [1], and the tables uninstalled, I see this, with 
previous failures now treated as skip during 'make check':

checking for a traditional japanese locale... (cached) none
checking whether mbrtowc has a correct return value... guessing yes


And with the tables installed (with or without today's cygwin patch), I see 
this, with new 'pass' during 'make check:

checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking whether mbrtowc has a correct return value... yes

[1] http://cygwin.com/ml/cygwin-cvs/2009-q3/msg00058.html

-- 
Eric Blake




Reply via email to