[Bug 1255640] Re: unziping file with not utf-8 encoding error

Alkis Georgopoulos 1255640 at bugs.launchpad.net
Sun Dec 1 18:10:36 UTC 2013


I'm using this script to work around the bug:
http://bazaar.launchpad.net/~ts.sch.gr/sch-scripts/trunk/view/head:/sch-scripts/unzip

Click on "Download file", then run
sudo mv unzip /usr/local/bin/unzip
sudo chmod +x /usr/local/bin/unzip

Then edit the file:
sudo gedit /usr/local/bin/unzip

Find the line that says:
    el) charset=cp737 ;;

...and either on top of it, or under it, add a similar line for your
LANG <=> DOS codepage mapping.

Maybe when we have several mappings, someone will take the time to
reimplement it inside unzip.c so that we don't have to use a wrapper
anymore.

-- 
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:
  unziping file with not utf-8 encoding error

Status in “unzip” package in Ubuntu:
  Confirmed

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