This is the mail archive of the
cygwin
mailing list for the Cygwin project.
zip, unzip doesn't support locale settings
- From: Lenik <lenik at bodz dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 12 May 2009 22:58:00 +0800
- Subject: zip, unzip doesn't support locale settings
(This mail is encoded in utf-8)
bash-3.2$ ls
????????.zip ???????? ????.gz
bash-3.2$ echo $LANG
bash-3.2$ export LANG=zh_CN.GBK
bash-3.2$ zip a *
zip warning: name not matched: å.gz
zip warning: name not matched: äå
zip error: Nothing to do! (a.zip)
bash-3.2$ unzip äç.zip
unzip: cannot find or open äç.zip, äç.zip.zip or äç.zip.ZIP.
FYI
ä = \u4f60
å = \u597d
ä = \u4e16
ç = \u754c
--
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/