zip, unzip doesn't support locale settings

Lenik lenik@bodz.net
Tue May 12 15:00:00 GMT 2009


(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/



More information about the Cygwin mailing list