This is merely a cosmetic bug rather than a serious functional one, but I hope it should be easy to fix.
If we want to pack a file (or a lot of files) with the names different from current system code page, the Commander warns us with the dialogue that other ZIP packers may not correctly unpack such archive and suggests several options, by default "Store these names as UTF-8 Unicode". Usually, despite the warning, the files are being packed properly and I didn't have any problem with unpacking or viewing in Windows Explorer (Windows 7 and later).
Immediately after packing TC performs the CRC check. In this dialogue it doesn't show the file names correctly, non-decoded UTF-8 characters are shown instead. Contrary, if we test this just created archive "Files -> Test Archive(s)", then the UTF-8 names are shown properly. Apparently a bug occurs only during the test immediately after archiving.
Reproducing is simple: take a large file like 100 MB, rename it using foreign words, different from your code page, e.g. "Длинное_имя_файла" (Long_file_name in Russian) and pack.
Testing a ZIP after packing shows non-decoded UTF-8
Moderators: Hacker, petermad, Stefan2, white
Testing a ZIP after packing shows non-decoded UTF-8
Desktop: Windows 11 Pro 23H2, TC 11.50. Mobile: Pixel 5a, Android 14, TC 3.60b4
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Testing a ZIP after packing shows non-decoded UTF-8
I will check it, thanks.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Testing a ZIP after packing shows non-decoded UTF-8
This should be fixed in Total Commander 9.22 release candidate 1, please test it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Testing a ZIP after packing shows non-decoded UTF-8
Fixed in 9.22rc1, thanks!
Desktop: Windows 11 Pro 23H2, TC 11.50. Mobile: Pixel 5a, Android 14, TC 3.60b4