On Oct 29 13:42, Jon TURNEY wrote: > I haven't been following the discussion about C.UTF-8 closely, but > curiously, for me at least, this test program shows that > setlocale(LC_ALL, "") fails with LANG=C.UTF-8 (so that doesn't > actually seem to be a valid locale, although if it's the default it > probably doesn't make much difference), but this means that a > subsequent setlocale(LC_ALL, NULL) just returns "C"
What version of Cygwin 1.7 are you using? The change to newlib, which allows to specify C.UTF-8 as locale is from 2009-09-29, so Cygwin 1.7.0-62 from 2009-10-03 allows to specify this locale. The change which makes C.UTF-8 Cygwin's default locale is from 2009-10-09, so this change is only in Cygwin from CVS, or in developer snapshots from past that date. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/