How I fixed it:

(/home/user) $:  apt-cache source unzip
(/home/user) $:  cd unzip-6.0
(/home/user) $:  gedit extract.c

go to line 2599..

there will be:

if (!isprint(*r)) {

You have to replace it to:

if(!iswprint(*r)) {

(we replaced function isprint by iswprint).

And now do:

(/home/user) $:  cp unix/Makefile ./
(/home/user) $:  make generic
(/home/user) $:  sudo make install


After this operation unzip will work like a charm :)
!!! AND BONUS: Not only unzip, but Archive Manager will correctly show zipped 
file names from now!

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to a duplicate bug report (34667).
https://bugs.launchpad.net/bugs/580961

Title:
  unzip fails to deal correctly with filename encodings

To manage notifications about this bug go to:
https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions

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

Reply via email to