The project is mainly on extract Chinese/Japsnse/Korean(CJK) zip files.
In some linux distributions, such as Fedora/Ubuntu, there are few softwares can extract CJK filename correctly. I have tried unzip
, peazip
and 7z-zip
, but nothing helps. In CJK communicity, many people suggest to patch unzip
project with unzpriv.h
. The method is hard for newbie, and the most important is even patched it still doesn't work.
That is why I develop myself tool, for easy, simple and correct. Try it, and have fun.
-
Normal usage
python unzip.py file.zip
-
Extract zip file with password
python unzip.py -p password
-
Default encoding is Traditional Chinese(cp950). For Simplified Chinese(cp936), assign 'cp936' to '-e'
python unzip.py -e cp936 -p password
- Python 2.6+
Yi-Feng, Tzeng (ant)
yftzeng AT gmail.com
MIT License
GitHub