- Apr 23, 2018
- 367
- 1,534
Sometimes people pack their zips with system encoding instead of utf8 so most unpackers extract garbage instead of names for those archives on systems with another encoding. Here is
This script needs chardet module installed:
Usage:
Edit: Updated to work in more cases.
You must be registered to see the links
script unzip-enc.py to unpack such archives:You don't have permission to view the spoiler content.
Log in or register now.
Code:
pip install chardet
Code:
unzip-enc.py [-e encoding] file.zip
Last edited: