[1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8
Wed May 13 16:45:00 GMT 2009
On May 14 01:03, IWAMURO Motonori wrote:
> My idea is as follows:
> 1) separate mbtowc/wctomb function entries to library usage and
> system usage. (__mbtowc/__wctomb & __sys_mbtowc/__sys_wctomb)
> 2) If call setlocale(LC_CTYPE) by locale != "C", then lib == sys.
> 3) If call setlocale(LC_CTYPE) by locale == "C", then sys is set by
> LC_ALL/LC_CTYPE/LANG. If LC_ALL/LC_CTYPE/LANG are not set, use UTF-8
That's basically how my patch works.
> Cygwin startup call setlocale(LC_CTYPE, "C") at winsup/cygwin/dcrt0.cc.
Yes, it does already.
> I am writing this patch and test code now.
Btw., if you plan to write more and bigger patches for Cygwin, it would
be necessary to sign a copyright assignment form. That's explained on
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin