[Bug 477755] Re: Please reinclude the patch for codepage-based zip filenames

Unxed 477755 at bugs.launchpad.net
Thu Jul 16 10:16:32 UTC 2020


*** This bug is a duplicate of bug 580961 ***
    https://bugs.launchpad.net/bugs/580961

Wrote a patch for unzip fixing this issue:
https://sourceforge.net/p/infozip/patches/29/

The same patch for p7zip:
https://sourceforge.net/p/p7zip/bugs/187/

-- 
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/477755

Title:
  Please reinclude the patch for codepage-based zip filenames

Status in unzip package in Ubuntu:
  Confirmed
Status in unzip package in Debian:
  Unknown

Bug description:
  Binary package hint: unzip

  The unzip package didn't support codepage-based filenames, and a patch from altlinux was included in previous versions of unzip to make it support them with the command-line parameter "-O cpXXX". Some links about this problem are gathered in https://blueprints.launchpad.net/unzip/+spec/unzip-detect-filename-encoding
  (e.g.: https://bugs.launchpad.net/debian/+source/unzip/+bug/10979/comments/15)

  This parameter was removed in Karmic, and the changelog (https://launchpad.net/ubuntu/+source/unzip) states
  "Enabled new Unicode support. Closes: #197427. This may or may not work
      for your already created zipfiles, but it's not a bug unless they were
      created using the Unicode feature present in zip 3.0."

  I believe it *is* a bug, since it makes Linux users unable to open
  .zip files that *adhere* to the zip specification. It's like saying
  "utf8 is the way to go, so firefox won't support codepage-based
  websites anymore. Please convert all the websites of the internet to
  utf8 in order to see them". It's just not realistic... :-(

  Please reinclude the patch.

  For reproducing, here's a file that uses cp737: http://www.ypepth.gr/docs/metatheseis_090403.zip
  I couldn't find *any* way to properly unzip it in Karmic, other than running Windows .zip utilities.

  (btw, the bug #197427 that is referenced in the changelog is
  irrelevant, it's about ffmpeg being outdated)

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



More information about the foundations-bugs mailing list