Problem chars above ASCII 127 in filenames for Zip-tool

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Orion
Junior Member
Junior Member
Posts: 16
Joined: 2004-06-30, 15:36 UTC
Location: Singapore

Problem chars above ASCII 127 in filenames for Zip-tool

Post by *Orion »

When I pack a file with the name "nøkken.txt" it becomes "nokken.txt" inside the zip-archive. Likewise the suggested name of of zip-archive name becomes "nokken.zip" instead of "nøkken.zip".
This character conversion occurs for the the internal packer.
Now, the files can still afterwards be extracted with the changed filenames. However, there is a problem when you e.g. both have a "nøkken.txt" and "nokken.txt". They will both be in the archive with same name: "nokken.txt" and this, of course, does give a problem when unpacking.
Also, even if there are no names coinciding it is still not good with this bug as a whole directory structure with many files may contain files which cannot be found by some other application after unpacking.
Best regards,

Orion
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Hello Orion,
What option did you set under "Pack Unicode names" for the ZIP packer?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Orion
Junior Member
Junior Member
Posts: 16
Joined: 2004-06-30, 15:36 UTC
Location: Singapore

Post by *Orion »

I did not see this option as the server on which I was packing with TC only had version 7.x installed. I updated the version on the server to 8.1. I tried some of the different values and found that using "Store all names containing non-English in extra field" works.

Thanks for the help!
Best regards,

Orion
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Standard ZIP is quite old format and it doesn't support Unicode names (archive directory keeps names in OEM encoding).
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16147
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Orion
I did not see this option as the server on which I was packing with TC only had version 7.x installed.

Hmm, this option was also available in TC 7.x ;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply