Comment 89 for bug 580961

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

I confirm that 6.0-4ubuntu1 is still half-broken, compared to previous Ubuntu versions.
 * Extracting works: UNZIP="-o cp737" unzip archive.zip
 * Listing doesn't: UNZIP="-o cp737" unzip -l archive.zip
Since listing doesn't work, file-roller also doesn't work.
I tested with http://www.ops.gr/Ergorama/fileUploads/ypiresiaops/prokirikseis/biografiko.zip

Btw, here's an easy way to provide the unzip environment variables for all users.

Create the following script:
$ sudo gedit /usr/local/bin/unzip

Paste these 4 lines, but replace cp737 with the appropriate charset for your locale:
#!/bin/sh

export UNZIP="-O cp737"
export ZIPINFO="-O cp737"
exec /usr/bin/unzip "$@"

Save, exit, and make the script executable:
$ sudo chmod +x /usr/local/bin/unzip