ZipUnicode=5 by default for internal ZIP packer

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

ZipUnicode=5 by default for internal ZIP packer

Post by *DrShark »

By default Total Commander use ZIP packer setting "Ask every time a Unicode name is encountered" for names. However, this setting completely kills Ukrainian letter і, replacing it with Underscore (_). Changing ZIP packer setting to "Store all names containing non-English in extra field" (ZipUnicode=5 in wincmd.ini) will save "і" in the name for Total Commander. Windows Explorer will still show underscore instead of "і", but except this little issue Explorer will work with archive just fine.

So my suggestion is to:
1) make "Store all names containing non-English in extra field" as default setting and at first look it seems to be good from compatibility point;
2) or make other default setting like current default "Ask every time a Unicode name is encountered", but which will save "і" letter;
3) or, if 1) or 2) are unacceptable, at least add some warning that it can cause to some characters in names to be lost when using internal ZIP with default "Ask every time a Unicode name is encountered" first time. It will help much in "Pack with remove" case. It's also possible to add a chance for (semi-)automated names recovery by saving all the names of packing source to totalcmd.log (currently from all packing operation TC saves only the path/name of resulting archive).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

I'm wonder if many users still use the Zip format for archives ?
There are so many better archive types
which are fully supported by TC plugins.
For my own local need I prefer the encrypted 7zip and the new zpaq.
Post Reply