页次: 1
好久没更新的unzip(最新版本6.0是09年春发布的),在2010年底发布过一个测试版6.10b。发现有这么一段更新:
- Add -I and -O options for setting ISO and OEM character sets, respectively, used by UnZip when doing character set translations. This support is based on the unzip60-alt-iconv-utf8 patch suggested in an Info-ZIP forum thread and uses the iconv library which must be available. These options are enabled using the USE_ICONV_MAPPING compiler macro. Suggestions welcome on how to improve this limited character translation support.
就是说可以用-I和-O命令行选项指定字符集,而不是只支持utf8了。
使用示例:
unzip 我是一个ZIP.zip -Ogbk
于是写了个PKGBUID:
https://aur.archlinux.org/packages.php?ID=56788
欢迎测试。
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
赞
这里还有个应对文件名乱码的gbkunzip https://aur.archlinux.org/packages.php?ID=54512
喵~Zz
离线
页次: 1