[1.7] setlocale utf-8

Reini Urban rurban@x-ray.at
Thu Aug 20 12:37:00 GMT 2009


Can we please clarify some oy my problems with our new locale support in
http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html

LC_ALL=utf-8 does not work. Must contain the language, same as on linux.
LC_ALL=en_US.utf-8 does not work. UTF-8 must be uppercase, in contrary to linux.
LC_ALL=UTF-8 does not work. Must contain the language, like
en_US.UTF-8, same as on linux.

I'm working around that now in the new perl.

fedora core:
setlocale(LC_ALL,"") failed
with    LC_ALL = utf-8
        LANG =
        CYGWIN =
setlocale(LC_ALL,"") okay
with    LC_ALL = en_US.utf-8
        LANG =
        CYGWIN =
setlocale(LC_ALL,"") failed
with    LC_ALL = de.UTF-8
        LANG =
        CYGWIN =
setlocale(LC_ALL,"") okay
with    LC_ALL = en_US.utf-8
        LANG = en_US.utf-8
        CYGWIN =

-- 
Reini Urban
http://phpwiki.org/           http://murbreak.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loctest.c
Type: application/octet-stream
Size: 2253 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090820/9b14db2a/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list