参考 http://www.111cn.net/sys/linux/72590.htm
方法1:
unzip -O CP936 xxx.zip (GBK, GB18030)
方法2:
jar xvf file.name
-------------------------------------------------------------
参考:
http://www.myhack58.com/Article/48/66/2014/44903.htm
http://forum.ubuntu.org.cn/viewtopic.php?t=261811
unzip无 -O 参数:
(1) 7za x xxx.zip
(2) convmv -r -f utf8 -t iso88591 xxx --notest --nosmart && convmv -r -f gbk -t utf8 xxx --notest --nosmart
convmv:命令
-r:包括对子目录进行操作
-f utf8:从utf8编码
-t iso88591:变成iso88591编码
*:所有文件
--notest:不试,直接改名
--nosmart:忽略已经是utf8编码的文件名
yum -y install p7zip
yum install convmv
--------------------------------------------
export LANG=zh_CN.GBK