Comment 2 for bug 1255640

Revision history for this message
Alkis Georgopoulos (alkisg) wrote : Re: unziping file with not utf-8 encoding error

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.