Why ZIP Files from Japan Arrive with Garbled Filenames — and How to Detect the Encoding Automatically
DEV Community
Why ZIP Files from Japan Arrive with Garbled Filenames — and How to Detect the Encoding Automatically
ZIP filenames are just bytes. When an archive made on a Japanese or Chinese PC meets a different system locale, the names turn to mojibake. Here's why it happens, and how scoring candidate decodings fixes it.
0 comments
No comments yet.