[Bug 1255640] Re: unzip missing code pages

Dominik Viererbe 1255640 at bugs.launchpad.net
Wed May 31 13:09:32 UTC 2023


> Testcase: Archive file with name encoded in CP-1250 and then unzip it. I have 12.04 and package unzip (6.0-4ubuntu2) installed.
Thank you for reporting this bug.

Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

I tetsted on 22.04 (Jammy Jellyfish) if the bug still exists, but it
seems to be fixed at some point.

Testcase:
1. create test file:
echo "Hello World!" > '~€…†‡‰Š‹ŚŤŽŹ•–—™š›śťžźNPˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙.txt'
2. force filename encoding:
convmv -f utf8 -t cp1250 '~€…†‡‰Š‹ŚŤŽŹ•–—™š›śťžźNPˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙.txt'
3. create zip file:
zip test.zip '~€…†‡‰Š‹ŚŤŽŹ•–—™š›śťžźNPˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙.txt'
4. unzip file:
unzip -d extracted test.zip
5. check if there are decoding errors:
ls -la extracted/

We appreciate that this bug may be old and you might not be interested
in discussing it any more. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

** Changed in: unzip (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/1255640

Title:
  unzip missing code pages

Status in unzip package in Ubuntu:
  Incomplete

Bug description:
  Bug 580961 was solved, but nobody created another bug to repair
  encoding as is described in comments bellow.

  https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/580961/comments/140
  and
  https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/580961/comments/146

  Testcase: Archive file with name encoded in CP-1250 and then unzip it.
  I have 12.04 and package unzip (6.0-4ubuntu2) installed.

  I think revision will be better than waiting for people to ask for
  repairing their specific encoding.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/1255640/+subscriptions




More information about the foundations-bugs mailing list