Character code of file name in zip file.

Discussion related to "Everything" 1.5.
Post Reply
ANACOSTIA
Posts: 7
Joined: Tue Jan 07, 2025 12:47 am

Character code of file name in zip file.

Post by ANACOSTIA »

File names of "Container filenames column" in a zip file are garbled.
Can Everything treat a UTF-8 code for file name in a zip file?
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Character code of file name in zip file.

Post by NotNull »

Can you give an example? (maybe a screenshot can help here).
ANACOSTIA
Posts: 7
Joined: Tue Jan 07, 2025 12:47 am

Re: Character code of file name in zip file.

Post by ANACOSTIA »

Please see attached.

The file "01234ABCDE.zip" contains a file "01234ABCDE.txt." <-- ASCII characters.
The file "あいうえおかきくけこ.zip" contains a file "あいうえおかきくけこ.txt." <-- Japanese characters.
The file "アイウエオカキクケコ.zip" contains a file "アイウエオカキクケコ.txt." <-- Japanese characters.
The file "安以宇衣於加幾久計己.zip" contains a file "安以宇衣於加幾久計己.txt." <-- Japanese characters.

The filename encoding in zip files is UTF-8.
Attachments
Hard Copy.png
Hard Copy.png (14.59 KiB) Viewed 1971 times
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Character code of file name in zip file.

Post by NotNull »

This really helped. Thanks!


I tried to reproduce, first using 7-zip 24.9 (results in the 7-zip folder), then using Windows' own mechanism ( in the "windows zip" folder).
(btw: Windows 11 24H2 has a new (un)zipping tool that also supports .7z and .rar files)

To me both look OK.
Just guessing: What program(s) do you use to zip these files? Maybe one of them is not fully unicode aware?

2025-01-18 12_51_17-t__uni file_ - Everything (1.5a) 1.5.0.1391a (x64).png
2025-01-18 12_51_17-t__uni file_ - Everything (1.5a) 1.5.0.1391a (x64).png (55.41 KiB) Viewed 1936 times
ANACOSTIA
Posts: 7
Joined: Tue Jan 07, 2025 12:47 am

Re: Character code of file name in zip file.

Post by ANACOSTIA »

I'm sorry about my lack of a check.
The file name encoding is actually "Windows code page 932" despite the setting that an archiver uses UTF-8 encoding.

So, can the Everything determine whether the encoding that a zip file is using is UTF-8 or system encoding, and can the Everything display container filenames with the applicable encoding?
Some archivers can do this.
Post Reply