[Python-3000] Py3k_struni additional test failures under cygwin
"Martin v. Löwis"
martin at v.loewis.de
Tue Jul 31 08:07:18 CEST 2007
> > Cygwin's setlocale function only supports the "C" locale.
> > I am a bit suprised that ASCII is returned rather than the system's default
> > encoding.
> If I understand the situation correctly, you shouldn't be. The C
> locale is defined to use ASCII.
I think you don't. I'm certain that standard C doesn't define the C
locale to be ASCII, and I believe POSIX doesn't, either. What they do
define is that the "basic execution character set" must be in it
(or some such). However, in absence of better knowledge, assuming
ASCII is the best choice that the library can make.
More information about the Python-3000