Unable to correctly recognize Chinese file names in ZIP compressed files. [SOLVED]
Moderators: Hacker, petermad, Stefan2, white
Unable to correctly recognize Chinese file names in ZIP compressed files. [SOLVED]
The filename is P-603-施翀.md, where '施翀' are Chinese characters. After compressing it into a ZIP file, open it using Total Commander and select 'Auto' for the encoding recognition of the filename. It will not recognize these two Chinese characters correctly unless you set it to code page 936.
Last edited by cheming on 2023-04-02, 01:55 UTC, edited 1 time in total.
Re: Unable to correctly recognize Chinese file names in ZIP compressed files.
07.06.22 Fixed: wincmd.ini [Packer] PreferUtf8ForZip=1 is now the default also on Asian language Windows versions (32/64)
try change this to 0
try change this to 0
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Unable to correctly recognize Chinese file names in ZIP compressed files.
The problem is that some ANSI-Encoded Chinese characters are exactly the same code as some different UTF-8 characters. In this case TC now prefers UTF-8, because some faulty ZIP packers create ZIP files with UTF-8 file names but don't set the UTF-8 flag in the header.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Unable to correctly recognize Chinese file names in ZIP compressed files.
YES!It works. NICE!endest wrote: 2023-03-28, 02:00 UTC 07.06.22 Fixed: wincmd.ini [Packer] PreferUtf8ForZip=1 is now the default also on Asian language Windows versions (32/64)
try change this to 0
Re: Unable to correctly recognize Chinese file names in ZIP compressed files. [SOLVED]
Today it was discovered that when TAR compressed format files contain the above-mentioned characters in the archive file name, they still cannot handle text encoding issues correctly, resulting in the final file being unable to be interpreted correctly.