Re: Cygwin 1.7 wide char functions

2009-07-20 Thread Eric Blake
Bruno Haible 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

Re: Cygwin 1.7 wide char functions

2009-07-20 Thread Bruno Haible
Eric Blake wrote: > 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

Re: Cygwin 1.7 wide char functions

2009-07-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 7/20/2009 5:48 AM: > According to Bruno Haible on 7/18/2009 10:41 AM: checking whether mbrtowc has a correct return value... no >>> This is the first one the Cygwin developers should take care of. > > They are looking i

Re: Cygwin 1.7 wide char functions

2009-07-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 7/18/2009 10:41 AM: >>> checking whether mbrtowc has a correct return value... no >> This is the first one the Cygwin developers should take care of. They are looking into it. > The setlocale function [1] installs functio

Re: Cygwin 1.7 wide char functions

2009-07-18 Thread Bruno Haible
Eric, More details about this one: > > checking whether mbrtowc has a correct return value... no > > This is the first one the Cygwin developers should take care of. > The test case is in m4/mbrtowc.m4 lines 260..296. > > > ../../gltests/test-wcrtomb.c:51: assertion failed > > ../../gltests/test

Re: Cygwin 1.7 wide char functions

2009-07-14 Thread Bruno Haible
Eric Blake wrote: > Cygwin 1.7 added wcwidth, and it does pass the test-wcwidth.c unit test. So > we > may want to consider modifying this patch to also exempt cygwin from the > expensive tests. This would make sense if the multibyte / wide char support in Cygwin was final. But as you say, the