Same thing here with unzipping archives with Russian filenames. 
It seems that unzip converts filenames by default from cp850 to cp1252. And 
this conversion ruins every other encoding. I'm trying to unzip a 
Windows-created zip archive with Russian filenames (cp866). Now, to restore the 
correct filenames I have to use the following set of commands as a workaround:

unzip filename.zip
convmv --nosmart --notest -f cp1252 -t cp850 *
convmv --nosmart --notest -f cp866 -t utf8 *

And this works.

It would be much more handy to have unzip autodetect the proper
conversion based on the system locale (i.e. cp866->utf8 for Russian,
CP936->utf8 for Chinese, etc.) or to be able to specify an unzip command
line parameter to override the default conversion of cp850->cp1252 in
case autodetection fails.

--------
Tried on Lucid Lynx 10.04 LTS, unzip 6.0-1build1, convmv 1.12
See an example zip with cp866 filenames attached.

** Attachment added: "example archive with Russian filenames (cp866)"
   http://launchpadlibrarian.net/47932073/tsj_2010_demo.zip

-- 
Chinese file names in Zip Archives compressed on Windows cannot be extracted 
correctly
https://bugs.launchpad.net/bugs/371167
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeutils in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to