mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
Windows-authored zips often store entry names in the local codepage (GBK) without setting the ZIP UTF-8 flag, while file content stays UTF-8. The previous fallback decoded the whole archive with one charset, so a single GBK-named entry forced already-correct UTF-8 content to be re-decoded as GBK, corrupting valid Chinese text into mojibake. Names and content now each try UTF-8 first and fall back to GBK independently, per entry. |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| pom.xml | ||
| settings.xml | ||