This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 May 2009 19:37:41 +0200
- Subject: Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8
- References: <3f0ad08d0905121029j119c8a7ep41d3a261d8bea338@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
On May 13 02:29, IWAMURO Motonori wrote:
> Hi.
>
> I propose that the filename encoding in C locale uses UTF-8 instead of SO/UTF-8.
>
> There are three reasons:
>
> 1. for the interoperability between Cygwin and various UNIX-like
> systems (Linux, *BSD, Solaris, and so on).
> UNIX-like systems treat the filename as 8bit byte array, and many
> applications on the systems send or receive filename information
> without locale. (mercurial, git, rsync, and so on).
>
> 2. UTF-8 is the only encoding that can treat multi languages.
>
> 3. Today, the default encoding of modern UNIX-like systems is UTF-8.
That's an interesting thought. Do you have a patch and, if so, did you
try it? Does it, for instance, help for the issue reported in the
thread starting at http://cygwin.com/ml/cygwin/2009-05/msg00245.html?
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/