[1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

Corinna Vinschen corinna-cygwin@cygwin.com
Thu May 14 08:13:00 GMT 2009


On May 13 23:49, Matthias Andree wrote:
> Am 13.05.2009, 17:17 Uhr, schrieb Corinna Vinschen  
> <corinna-cygwin@cygwin.com>:
>
>> I followed the suggestion to use UTF-8 for internal conversions when the
>> locale is set to "C".  This will also be used as default conversion when
>> converting the Windows environment from UTF-16 to multibyte, unless the
>> environment contains a valid LC_ALL/LC_CTYPE/LANG setting.  The current
>> working directory was also potentially unusable, if an application
>> switched the locale.  Now the CWD is re-evaluated after a setlocale call.
>
> Is Unicode normalization an issue here?

Not really, I guess.  Either a character is available or it isn't.
We don't have composition or decomposition capabilities for most
multibyte character sets anyway.  If at all, we could only do that
for SJIS, EUCJP, and GBK.  None of them would profit a lot of that.


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://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list