I just tried frol's PPA with the libnatspec dependency.
It didn't correctly autodetect the encoding so I didn't see any benefit with
that implementation.
It did however work as good as unzip did in older Ubuntu versions, i.e. both
extracting *and listing* worked if either the UNZIP/ZIPINFO environment
variables were defined, or if the -O parameter was used:
# autodetection doesn't work:
$ echo $LANG
el_GR.utf8
$ unzip -l biografiko.zip
43008 2010-05-14 12:20 biografiko/Ä¢₧Ü圪 ⌐¼úºóπ¿α⌐₧¬ ÿσ½₧⌐₧¬_Ö.doc
# works with the UNZIP environment variable:
$ UNZIP='-O cp737' unzip -l biografiko.zip
43008 2010-05-14 12:20 biografiko/Οδηγίες συμπλήρωσης αίτησης_β.doc
# (alternatively, the same output is also produced with "-O cp737" in the
command line)
# and in zipinfo mode, as called by file-roller:
$ ZIPINFO='-O cp737' unzip -ZTs biografiko.zip
-rw-a-- 2.0 fat 43008 b- defN 20100514.122016 biografiko/Οδηγίες
συμπλήρωσης αίτησης_β.doc
# (alternatively, the same output is also produced with "-O cp737" in the
command line)
So, it looks like only half of the required patch was included in unzip
6.0-4ubuntu1.
Please make listing (unzip -l and unzip -ZTs) work, as it did in previous
Ubuntu versions.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/580961
Title:
unzip fails to deal correctly with filename encodings
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs