≈ the.bay.news

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

Sign in to join the discussion — your thebay.events account works here.

No comments yet.