Tool Python script to extract zip files with unknown/non-system encoding

Surgy

Member
Modder
Apr 23, 2018
349
1,367
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 script unzip-enc.py to unpack such archives:
You don't have permission to view the spoiler content. Log in or register now.
This script needs chardet module installed:
Code:
pip install chardet
Usage:
Code:
unzip-enc.py [-e encoding] file.zip
Edit: Updated to work in more cases.
 
Last edited: