files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
33.81k stars 2.16k forks source link

Bug: File names for Japanese zips aren't shown correctly on Chinese language #14937

Open oxygen-dioxide opened 6 months ago

oxygen-dioxide commented 6 months ago

What feature or improvement do you think would benefit Files?

My windows is in simplified Chinese locale. Currently, when opening zip files produced by Japanese users, file names will be garbled. image

Requirements

When opening zip files, the user can choose which encoding to use for reading file names.

Files Version

3.2.2.0

Windows Version

windows 11 23H2 build 26040

Comments

No response

Josh65-2201 commented 6 months ago

Thanks for the report, I've added this to the project board.

oxygen-dioxide commented 6 months ago

Further idea: let the user choose which encoding to use when creating a .zip file, and use UTF-8 by default so that it won't become garbled when opened on another locale

yaira2 commented 3 months ago

What happens when you browse the archives in File Explorer?

oxygen-dioxide commented 3 months ago

Do you mean the explorer.exe shipped with windows system? image They are shown as incorrect Chinese characters, but they should be Japanese hiraganas.

0x5bfa commented 3 months ago

Looking from what FE shows it decodes as UTF8 while it encoded as ShiftJIS.

Segoe UI doesn't have set of those kanji, it shows as question symbol.

0x5bfa commented 3 months ago

@gave92 fyi, do you think this is from seven zip sharp or 7zip?

yaira2 commented 3 months ago

@gave92 fyi, do you think this is from seven zip sharp or 7zip?

That was my thought as well