Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-13 Thread Corinna Vinschen
On May 9 23:12, Lenik wrote: > This is a new test don't use cygpath: > C:\Profiles\Shecti> set LANG=& bash -c "cat ??" > cat: ??: No such file or directory > > C:\Profiles\Shecti> set LANG=zh_CN.GB2312& bash -c "cat ??" > cat: ??: No such file or directory > > C

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-12 21:54, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: (This mail is encoded in utf-8) [...] The two chinese characters encoding in: GB2312: d7 c0 c3 e6 UTF-8: e6 a1 8c e9 9d a2 Unicode: \u684c \u9762 [...] This is a new test don't use cygpath: C:\Profiles\Shecti> set LA

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-12 16:30, Corinna Vinschen wrote: On May 12 15:49, Lenik wrote: I'd like to know if there is any build plan to upgrade tools like d, zip, unzip, jar, etc. to support locale settings, rather than C only. So I can tell customers when our cygwin-based scripts will work for Chinese path na

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Corinna Vinschen
On May 9 23:12, Lenik wrote: > (This mail is encoded in utf-8) >[...] > The two chinese characters encoding in: > GB2312: d7 c0 c3 e6 > UTF-8: e6 a1 8c e9 9d a2 > Unicode: \u684c \u9762 >[...] > This is a new test don't use cygpath: > C:\Profiles\Shecti> set LANG=& bash -c "cat ??" > c

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Corinna Vinschen
On May 12 15:49, Lenik wrote: > I'd like to know if there is any build plan to upgrade tools like d, > zip, unzip, jar, etc. to support locale settings, rather than C only. So > I can tell customers when our cygwin-based scripts will work for Chinese > path names. That depends on the package

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-9 23:44, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: The same result, it shows that `cat' from binutils can support locale well, while `d' isn't. Ok, but that's not Cygwin's problem, just the d tool would need an update at one point, perhaps. OTOH, what you're doing is a b

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-09 Thread Lenik
On 2009-5-9 23:44, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: (This mail is encoded in utf-8) On 2009-5-9 18:02, Corinna Vinschen wrote: [Repeated and additional question. I accidentally sent this as PM. Sorry about that. Let's keep this on the list, please] On May 9 11:43, L

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-09 Thread Corinna Vinschen
On May 9 23:12, Lenik wrote: > (This mail is encoded in utf-8) > > On 2009-5-9 18:02, Corinna Vinschen wrote: >> [Repeated and additional question. I accidentally sent this as PM. >> Sorry about that. Let's keep this on the list, please] >> >> On May 9 11:43, Lenik wrote: >>> (My system local

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-09 Thread Lenik
(This mail is encoded in utf-8) On 2009-5-9 18:02, Corinna Vinschen wrote: [Repeated and additional question. I accidentally sent this as PM. Sorry about that. Let's keep this on the list, please] On May 9 11:43, Lenik wrote: (My system locale is zh_CN) What ANSI codepage is that? And

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-09 Thread Corinna Vinschen
[Repeated and additional question. I accidentally sent this as PM. Sorry about that. Let's keep this on the list, please] On May 9 11:43, Lenik wrote: > (My system locale is zh_CN) What ANSI codepage is that? And what OEM codepage uses the console Window by default? > 1, test path > >>>

Cygwin programs doesn't support non-ASCII filenames

2009-05-08 Thread Lenik
(My system locale is zh_CN) 1, test path >>> set LANG=& cygpath -am . C:/Profiles/Shecti/桌面 >>> set LANG=zh_CN.GBK& cygpath -am . C:/Profiles/Shecti/桌面 >>> set LANG=C& cygpath -am . C:/Profiles/Shecti/×ÀÃæ 2, the `test' utility >>> set LANG=& bash -c "D=$(cygpath -a