NanaZip icon indicating copy to clipboard operation
NanaZip copied to clipboard

Japanese characters are garbled

Open a4jp-com opened this issue 2 years ago • 10 comments

When I download template files from a printing company all the Japanese characters are garbled. Can you fix the encoding please?

a4jp-com avatar Jul 23 '23 22:07 a4jp-com

any sample files?

cherinyy avatar Jul 25 '23 13:07 cherinyy

will nanazip provide support for shift jis for in zip file?

ghost avatar Sep 25 '23 13:09 ghost

oh, so the problem isn't that the software doesn't support the encoding. But it's the software that needs to be able to detect encodings that are not being used by the system and load them correctly.

cherinyy avatar Sep 25 '23 14:09 cherinyy

can it simply provide an option for user to choose from?

ghost avatar Sep 25 '23 14:09 ghost

can it simply provide an option for user to choose from?

I think I will provide an file name encoding selection option in the future version of NanaZip's file manager.

Kenji Mouri

MouriNaruto avatar Sep 25 '23 14:09 MouriNaruto

Can I open a more detailed issue on this?

My Test file: https://nanahira.jp/haruka_nana/data/mmd.zip

The test file looks like this on NanaZip 3.5 Preview 0 (3.5.1000.0) image

This is what it should look like: image

SheepCommander avatar Sep 20 '24 14:09 SheepCommander

My Test file: https://nanahira.jp/haruka_nana/data/mmd.zip

This is not a problem with NanaZip, it's a problem with the zip file itself, which is only supported on devices that work with Shift JIS encoding.

A temporary workaround is that NanaZip offers the ability to manually select a code page, but more importantly the person creating the zip file should use modern compression software, or use a zip file format such as 7Z that defaults to a common encoding such as UTF-8.

春歌ナナMMD.zip

This is the file I generated after compressing it with NanaZip, and all compression software that supports reading Info-ZIP Unicode Path Extra Field gets the filename correctly when opening the file.

cherinyy avatar Sep 20 '24 14:09 cherinyy

Where can I manually select a code page? I had to use a stackoverflow command to do it

SheepCommander avatar Sep 24 '24 04:09 SheepCommander

The permanent solution is never coming, people are still creating zip files with Japanese encoding. NanaZip needs a GUI option to change the code page, has it been implemented yet? https://github.com/M2Team/NanaZip/issues/70

DrSakuu avatar Feb 12 '25 16:02 DrSakuu

It still has not been implemented yet. Which is annoying, and forces me to install both nanazip and 7zip in order to use the binary terminal commands.

SheepCommander avatar Feb 13 '25 06:02 SheepCommander