The behaviour in 5.52-10ubuntu2 is still broken. I have a file with filenames in UTF-8, but if I try to unpack it in a UTF-8 locale, the filenames get corrupted.
Example:
ó is stored in the file as \303\263 (raw UTF-8), but is extracted as \342\224\234\342\224\202
Workaround:
using a Latin1 environemtn will make a verbatim copy of the octets:
env LC_CTYPE=en_US unzip ...
(obviously you first need to generate a Latin1 environment)
The behaviour in 5.52-10ubuntu2 is still broken. I have a file with filenames in UTF-8, but if I try to unpack it in a UTF-8 locale, the filenames get corrupted.
Example: 234\342\ 224\202
ó is stored in the file as \303\263 (raw UTF-8), but is extracted as \342\224\
Workaround:
using a Latin1 environemtn will make a verbatim copy of the octets:
env LC_CTYPE=en_US unzip ...
(obviously you first need to generate a Latin1 environment)
My Ubuntu version is 8.04.2