Comment 96 for bug 580961

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

Στις 10-03-2011, ημέρα Πεμ, και ώρα 15:04 +0000, ο/η Martin Pitt έγραψε:
> But AFAIK the new -I and -O options already work. I thought the
> remainder of the problem was that the value isn't autodetected, but
> needs to be specified manually?

No, the -I and -O options do not work properly.
It looks like something, maybe just a couple of lines, were missing from the Natty patch.

I described the current situation in comment #89:
 * 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 (it uses `unzip -ZTs`, i.e. listing in zipinfo mode).

And no, I'm not talking about autodetection, libnatspec wasn't used in the upstream patch and it fails to autodetect Greek anyway (haven't tested other locales).
So personally for now I'd be happy if unzip was at least working with the -I and -O options and with the UNZIP environment variable.