[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Should be fixed in https://code.launchpad.net/~mitya57/ubuntu/+source/unzip/+git/unzip/+merge/466860 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Wrote a patch for unzip fixing this issue: https://sourceforge.net/p/infozip/patches/29/ The same patch for p7zip: https://sourceforge.net/p/p7zip/bugs/187/ -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I've closed the remaining tasks. This particular bug was fixed in Precise and later. For remaining issues in p7zip and file-roller, see Bug #1382106 and Bug #495880 --- unzip (6.0-4ubuntu2) precise-proposed; urgency=low * Fix incorrectly displayed file names with UTF-8 characters. Add -DNO_WORKING_ISPRINT to build flags. (LP: #1199239, LP: #580961) -- Brian MurrayWed, 06 Nov 2013 10:21:26 -0800 ** Project changed: file-roller => ubuntu-translations ** Changed in: ubuntu-translations Importance: Medium => Undecided ** Changed in: ubuntu-translations Status: Confirmed => New ** Changed in: ubuntu-translations Remote watch: GNOME Bug Tracker #306403 => None ** No longer affects: ubuntu-translations ** Package changed: unzip (Debian) => ubuntu-translations ** Changed in: ubuntu-translations Importance: Unknown => Undecided ** Changed in: ubuntu-translations Status: Unknown => New ** Changed in: ubuntu-translations Remote watch: Debian Bug tracker #682682 => None ** No longer affects: ubuntu-translations ** Project changed: linuxmint => ubuntu-translations ** No longer affects: ubuntu-translations ** Changed in: unzip (Ubuntu Precise) Importance: Undecided => High ** Changed in: unzip (Ubuntu Quantal) Importance: Undecided => High ** Changed in: ubuntu-jp-improvement Status: Fix Committed => Fix Released ** Tags removed: needs-reassignment ** Bug watch removed: GNOME Bug Tracker #306403 https://bugzilla.gnome.org/show_bug.cgi?id=306403 ** Bug watch removed: Debian Bug tracker #682682 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682682 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Bug watch removed: Gentoo Bugzilla #69945 https://bugs.gentoo.org/show_bug.cgi?id=69945 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Bug watch removed: Debian Bug tracker #483290 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483290 ** Project changed: unzip => ubuntu-translations ** Changed in: ubuntu-translations Importance: Medium => Undecided ** Changed in: ubuntu-translations Status: Unknown => New ** Changed in: ubuntu-translations Remote watch: GNOME Bug Tracker #581496 => None ** No longer affects: ubuntu-translations ** Package changed: gentoo => ubuntu-translations ** Changed in: ubuntu-translations Importance: Medium => Undecided ** Changed in: ubuntu-translations Status: Won't Fix => New ** Changed in: ubuntu-translations Remote watch: Gentoo Bugzilla #69945 => None ** No longer affects: ubuntu-translations ** Bug watch removed: GNOME Bug Tracker #581496 https://bugzilla.gnome.org/show_bug.cgi?id=581496 ** Bug watch removed: GNOME Bug Tracker #611257 https://bugzilla.gnome.org/show_bug.cgi?id=611257 ** Bug watch removed: GNOME Bug Tracker #619116 https://bugzilla.gnome.org/show_bug.cgi?id=619116 ** Package changed: unzip (Mandriva) => ubuntu-translations ** Changed in: ubuntu-translations Importance: High => Undecided ** Changed in: ubuntu-translations Status: Unknown => New ** Changed in: ubuntu-translations Remote watch: Mandriva Linux #57965 => None ** No longer affects: ubuntu-translations ** Bug watch removed: Mandriva Linux #57965 http://qa.mandriva.com/show_bug.cgi?id=57965 ** Bug watch removed: KDE Bug Tracking System #204984 https://bugs.kde.org/show_bug.cgi?id=204984 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Bug watch added: Debian Bug tracker #682682 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682682 ** Changed in: unzip (Debian) Status: Confirmed => Unknown ** Changed in: unzip (Debian) Remote watch: Debian Bug tracker #483290 => Debian Bug tracker #682682 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Launchpad has imported 36 comments from the remote bug at https://bugzilla.novell.com/show_bug.cgi?id=540598. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2009-09-21T05:38:29+00:00 5-pavel wrote: Created attachment 319015 An archive file with cyrillic file names included User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.13) Gecko/2009080200 SUSE/3.0.13-0.1.2 Firefox/3.0.13 There are several discussions about the problem concerning cyrillic filenames in zip archives and unzip package. Unzip out-of-the-box (compiled from sources) does not choose filenames encoding correctly. Developers from Ark say me, that the error is completely from info-zip project (https://bugs.kde.org/show_bug.cgi?id=204984). There are sime patches to info-zip's unzip package, that makes unzip extract filenames with correct encoding. But maintainers of info-zip project rejected these patches (http://www.info- zip.org/board/board.pl?m-1248086794). It would be nice to include this package in main openSuSE distribution. Reproducible: Always Steps to Reproduce: 1. Create zip-archive, containing files with cyrillic names under Windows. 2. Try to open it with unzip under SuSE Actual Results: Filename encoding is incorrect. Example: pavel@pavel:~/tmp> unzip ReportPacket_DBV90821CJ.zip Archive: ReportPacket_DBV90821CJ.zip inflating: ? ().pdf inflating: ? (??).pdf Expected Results: Results, produced with natspec patch from sisyphus pavel@rzn-sepak-bpa:~/backup> pavel@rzn-sepak-bpa:~/temp> unzip ReportPacket_DBV90821CJ.zip Archive: ReportPacket_DBV90821CJ.zip inflating: ? ? (??).pdf inflating: ? ? (??).pdf Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/0 On 2010-03-18T11:18:21+00:00 Dvaleev wrote: We have found solution. But it requires additional libraries to convert file names on the fly. The library is librcc especially created for handling non utf encoded file names. How we can proceed then? RPM packages are built on OBS and tested. Should we create submit request? The librcc and patched unzip are here: http://download.opensuse.org/repositories/home:/Lazy_Kent/openSUSE_11.2/ Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/1 On 2010-03-18T13:45:55+00:00 Pth-3 wrote: *** Bug 575715 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/2 On 2010-04-01T14:20:43+00:00 Anaumov wrote: Submit request: https://build.opensuse.org/stage/request/diff/34833 Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/3 On 2010-04-07T12:27:17+00:00 Stian Viskjer wrote: This is also a problem with the letters 'æ ø å' used in some of the Scandinavian alphabets. It's also an issue for tar's created by 7zip on Windows. Unzip 6.0 and the packages from home:/Lazy_Kent/openSUSE_11.2/ mentioned in comment 1 doesn't change anything on my system. (11.2 x86_64) Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/4 On 2010-05-03T17:28:57+00:00 Kyrill Detinov wrote: I made a submit request to Factory: https://build.opensuse.org/request/diff/39326 Confirmed, it works at least with Russian, Czech and Slovak. http://lizards.opensuse.org/2010/04/07/call-for-testing-unzip-feature/ % LANG=cs_CZ.utf8 unzip -l test-cz.zip Archive: test-cz.zip Length Date TimeName 117 03-18-10 15:24 aábcčdďeéěfghchiíjklmnňoópqrřsštťuúůvwxyýzžAÁBCČDĎEÉĚFGHCHIÍJKLMNŇOÓPQRŘSŠTŤUÚŮVWXYÝZŽ.txt --- 117 1 file Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/5 On 2010-05-04T17:25:46+00:00 Pth-3 wrote: I won't accept the patch for openSUSE because upstream doesn't accept it and openSUSE would have to maintain this patch indefinitely. If this or a similiar patch gets accepted upstream I'll help in backporting it. Reply at: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/comments/6 On 2010-05-04T17:38:04+00:00 Anixx wrote: What about changing the file to
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Wouldn't it be better to patch file-roller to support encoding settings? Otherwise it still breaks if you get zipped file with different encoding from the default. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Hendrik Knackstedt (hennekn) on 2014-02-02 Changed in unzip (Ubuntu): status: Triaged → Fix Released In 7z: Pilot6 (hanipouspilot) wrote on 2014-10-18: #157 I created a new bug report regarding same problem with p7zip-full https://bugs.launchpad.net/ubuntu/+source/p7zip/+bug/1382106 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
P.S.: I figured out correct code page for the `-O 850` option by opening the file in question on a windows machine which correctly unpacked the file, then I used the windows command line tool `chcp` to get the current code page on that windows machine: >chcp Active code page: 850 > -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
>test case: >do an "unzip -l" on the file http://tinyurl.com/2aofpxs and witness the >question marks Sorry for posting on this already quite long bug. I am using Ubuntu 14.04 (LTS) with all the latest updates. This bug is still present for me. I need to explicitly pass `-O 850` to enable codepage 850 in order to resolve it. Interestingly passing CP-850 does not work. Took me quite some time to figure this out. Not the subtle differences in the resulting filename for the two commands below: ERROR: $unzip Gyakorlat\ hallgatói\ segédlet\ -\ 7.\ Webes\ alkalmazások\ fejlesztése.zip Archive: Gyakorlat hallgatói segédlet - 7. Webes alkalmazások fejlesztése.zip inflating: Gyakorlat hallgatвi segВdlet - 7. Webes alkalmazаsok fejlesztВse.doc WORKAROUND: $unzip -O 850 Gyakorlat\ hallgatói\ segédlet\ -\ 7.\ Webes\ alkalmazások\ fejlesztése.zip Archive: Gyakorlat hallgatói segédlet - 7. Webes alkalmazások fejlesztése.zip inflating: Gyakorlat hallgatói segédlet - 7. Webes alkalmazások fejlesztése.doc Question: Is this a regression or am I experiencing a different bug unrelated to this one? If I am not mistaken then this was fixed before Ubuntu 14.04 and so the fix should also be included in Ubuntu 14.04 or not? -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I created a new bug report regarding same problem with p7zip-full https://bugs.launchpad.net/ubuntu/+source/p7zip/+bug/1382106 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Status: Triaged = Fix Released -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Thank you very much. Now no more this issue in raring :) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
opened next bug as suggested in #140 and #146 https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/1255640 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
This bug was fixed in the package unzip - 6.0-7ubuntu1.1 --- unzip (6.0-7ubuntu1.1) quantal-proposed; urgency=low * Fix incorrectly displayed file names with UTF-8 characters. Add -DNO_WORKING_ISPRINT to build flags. (LP: #1199239, LP: #580961) -- Brian Murray br...@ubuntu.com Wed, 06 Nov 2013 10:31:34 -0800 ** Changed in: unzip (Ubuntu Quantal) Status: Fix Committed = Fix Released -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
This bug was fixed in the package unzip - 6.0-8ubuntu2 --- unzip (6.0-8ubuntu2) raring-proposed; urgency=low * Fix incorrectly displayed file names with UTF-8 characters. Add -DNO_WORKING_ISPRINT to build flags. (LP: #1199239, LP: #580961) -- Brian Murray br...@ubuntu.com Wed, 06 Nov 2013 09:40:08 -0800 ** Changed in: unzip (Ubuntu Raring) Status: Fix Committed = Fix Released -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I tested this using unzip version 6.0-8ubuntu2 from raring-proposed and confirm that the fix works. ** Tags added: verification-done-raring -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I tested this using unzip version 6.0-7ubuntu1.1 from quantal-proposed and confirm that I do not use ?? in the filenames anymore. ** Tags added: verification-done-quantal ** Tags removed: verification-needed -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Brian, Try to install p7zip-full and use fole-roller to unzip a file. You'll get same problem. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I think opening a new bug report for each separate code page that is missing / needed in the 06-unzip60-alt-iconv-utf8 patch, is the cleanest way forward. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Tags added: verification-done-precise -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
This bug was fixed in the package unzip - 6.0-4ubuntu2 --- unzip (6.0-4ubuntu2) precise-proposed; urgency=low * Fix incorrectly displayed file names with UTF-8 characters. Add -DNO_WORKING_ISPRINT to build flags. (LP: #1199239, LP: #580961) -- Brian Murray br...@ubuntu.com Wed, 06 Nov 2013 10:21:26 -0800 ** Changed in: unzip (Ubuntu Precise) Status: Fix Committed = Fix Released -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
This is a good fix. But the problem is that file-roller uses p7zip-full, if it is installed. And p7zip-full has same problem. Is it possible to get file-roller use unzip by default? -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I think we should also fix p7zip-full and backport that fix to precise, too. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
@alkisg Amazing! It works with Russian characters. I can't believe it happens now! -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Thanks, it works, I test this patch via ppa:frol/zip-i18n on raring and saucy before, all works! Now with precise-proposed it it works out of the box too. But why only for precise, will it be updated for later ubuntu releases too? -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Hello Rolf, or anyone else affected, Accepted unzip into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unzip/6.0-8ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags added: verification-needed ** Also affects: unzip (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: unzip (Ubuntu Quantal) Importance: Undecided Status: New ** Also affects: unzip (Ubuntu Raring) Importance: Undecided Status: New ** Changed in: unzip (Ubuntu Raring) Importance: Undecided = High ** Changed in: unzip (Ubuntu Raring) Status: New = Fix Committed ** Changed in: unzip (Ubuntu Quantal) Status: New = Fix Committed -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Branch linked: lp:~ubuntu-branches/ubuntu/quantal/unzip/quantal- proposed ** Branch linked: lp:ubuntu/raring-proposed/unzip -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Hello Rolf, or anyone else affected, Accepted unzip into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unzip/6.0-4ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: unzip (Ubuntu Precise) Status: New = Fix Committed -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Branch linked: lp:~ubuntu-branches/ubuntu/precise/unzip/precise- proposed -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Thanks, that partially solves the problem (Precise, 6.0-4ubuntu2). The question marks are gone, so LP: #1199239 can be marked 'Fix released'. This (LP: #580961) bug is NOT fully addressed though. The problem that remains is that only a few codepages are supported. For example, unzipping a file that contains Greek (cp737) filenames doesn't work out of the box: $ unzip -l biografiko.zip biografiko/ОЫЮЪхЬк ймгзвуирйЮк ШхлЮйЮк_Щ.doc (wrong codepage) On the other hand, if someone manually specifies the codepage, it does work: $ unzip -O cp737 -l biografiko.zip biografiko/Οδηγίες συμπλήρωσης αίτησης_β.doc (right codepage) I'm guessing it would work if we added this line: +{ CP1253, CP737 }, ...in the mapping table defined in debian/patches/06-unzip60-alt-iconv-utf8: +/* A mapping of local - archive charsets used by default to convert filenames + * of DOS/Windows Zip archives. Currently very basic. */ +static CHARSET_MAP dos_charset_map[] = { +{ ANSI_X3.4-1968, CP850 }, +{ ISO-8859-1, CP850 }, +{ CP1252, CP850 }, +{ UTF-8, CP866 }, +{ KOI8-R, CP866 }, +{ KOI8-U, CP866 }, +{ ISO-8859-5, CP866 } +}; I'm not changing the verification-needed flag because it's only partially fixed, which might mean verification-failed, affected people do list your codepages here so that we add them to the mapping table before we upload this to -updates, or it might mean verification-done and open a new bug report for adding more codepages, your call. Thanks! -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Hi, Vitaly. I agree with your approach, see bug 1199239 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Importance: High = Critical ** Changed in: unzip (Ubuntu) Assignee: Пётр (plmak) = (unassigned) ** No longer affects: unzip (Ubuntu Natty) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
ppa has only raring version of packages, not precise/quantal 2013/6/8 robert leleu robert.jean.le...@wanadoo.fr didn't work for me here is the end of the update cmd Lecture des listes de paquets... Fait W: Une erreur s'est produite lors du contrôle de la signature. Le dépôt n'est pas mis à jour et les fichiers d'index précédents seront utilisés. Erreur de GPG : http://ppa.launchpad.net quantal Release : Les signatures suivantes ne sont pas valables : BADSIG B22A95F88110A93A Launchpad PPA for Bumlebee Project W: Impossible de récupérer http://ppa.launchpad.net/bumblebee/stable/ubuntu/dists/quantal/Release W: Impossible de récupérer http://ppa.launchpad.net/md-xytop/unzip/ubuntu/dists/quantal/main/source/Sources 404 Not Found W: Impossible de récupérer http://ppa.launchpad.net/md-xytop/unzip/ubuntu/dists/quantal/main/binary-amd64/Packages 404 Not Found W: Impossible de récupérer http://ppa.launchpad.net/md-xytop/unzip/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place. la 07/06/2013 23:22, Vitaly skribis (esperanto estas la unua internacia lingvo) And here is ppa with fixed unzip: https://launchpad.net/~md-xytop/+archive/unzip -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/580961 Title: unzip fails to deal correctly with filename encodings Status in File Roller: Confirmed Status in The Linux Mint Distribution: Triaged Status in Ubuntu Japanese Kaizen Project: Fix Committed Status in unzip - free software .zip unarchiver: Unknown Status in “unzip” package in Ubuntu: Triaged Status in “unzip” source package in Natty: Won't Fix Status in “unzip” package in Debian: Confirmed Status in Gentoo Linux: Won't Fix Status in “unzip” package in Mandriva: Unknown Status in “unzip” package in openSUSE: Fix Released Bug description: Binary package hint: unzip This is a fairly annoying bug that's been around and known at least since 2005. It's very visible as it will very often make exchange of zip files with Windows users impossible, for example. As such, it gathered it's fair share of me too and how dare you haven't fixed this yet!!111! comments. Problem description: zip/unzip and the specification fall short when dealing with non-ASCII filenames not encoded in UTF-8 test case: do an unzip -l on the file http://tinyurl.com/2aofpxs and witness the question marks affected programs: the problem is in unzip itself, but affects GUI like xarchiver, file-roller, etc. that rely on unzip for the decompression suggested solutions (most are workarounds, not proper fixes): a) reintroduce patch for codepage-based zip filenames: bug 477755, http://tinyurl.com/2aqdbqg (Ubuntu blueprint) b) unzip filename according to locale: bug 203609 c) Ubuntu JP has a patch, probably not generally applicable, bug 269482 d) Russian altlinux distro uses natspec lib and patched zip binary natspec was mentioned in bug 477755 comment #2 and may indeed be a proper fix, needs closer inspection (I haven't really looked, yet. As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=306403 there is no failsafe, straight-forward way to fix this in all cases. Nonetheless, the current situation can and should be improved. There's some good ideas floating around. It needs somebody to pull and wrap them together. It's unfortunate the FOSS community so far hasn't been able to fix this rather visible problem. I'm opening this ticket as a master bug and clean slate to document the issue and current status. Please don't ruin it by making above-mentioned unhelpful comments, they actually slow things down! Please don't nominate for a release. Unless you're a dev and can provide a patch, you should think VERY carefully to do anything but 1) subscribe yourself to this ticket 2) mark this bug as affecting you 3) tell me via mail about other bugs you think are a duplicate of this one, discussing the same problem 1) to 3) will showcase to the devs how many people are affected and that is the only real chance we have for somebody to take a serious look. Me too comments do the opposite, so again, please don't do it. To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
thanks the raring ppa worked for my mint 14 (quantal?) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
didn't work for me here is the end of the update cmd Lecture des listes de paquets... Fait W: Une erreur s'est produite lors du contrôle de la signature. Le dépôt n'est pas mis à jour et les fichiers d'index précédents seront utilisés. Erreur de GPG : http://ppa.launchpad.net quantal Release : Les signatures suivantes ne sont pas valables : BADSIG B22A95F88110A93A Launchpad PPA for Bumlebee Project W: Impossible de récupérer http://ppa.launchpad.net/bumblebee/stable/ubuntu/dists/quantal/Release W: Impossible de récupérer http://ppa.launchpad.net/md-xytop/unzip/ubuntu/dists/quantal/main/source/Sources 404 Not Found W: Impossible de récupérer http://ppa.launchpad.net/md-xytop/unzip/ubuntu/dists/quantal/main/binary-amd64/Packages 404 Not Found W: Impossible de récupérer http://ppa.launchpad.net/md-xytop/unzip/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place. la 07/06/2013 23:22, Vitaly skribis (esperanto estas la unua internacia lingvo) And here is ppa with fixed unzip: https://launchpad.net/~md-xytop/+archive/unzip -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
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 Bugs, which is subscribed to Ubuntu. 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
And here is ppa with fixed unzip: https://launchpad.net/~md-xytop/+archive/unzip -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Okay, I've been following this bug for some time, why hasn't this gotten fixed after YEARS of the bug being open? Sorry to rant here, but why not just get one that works? I've been using the program in my distribution, and it does NOT have this problem at all - if you ask me, I believe it is a deeper issue than the program itself. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Assignee: (unassigned) = Пётр (plmak) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** No longer affects: hundredpapercuts -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
still affects ** Attachment added: screenshot https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/+attachment/3541575/+files/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA.png -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
here is a screenshot with archive from the top ** Attachment added: screenshot https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/+attachment/3541576/+files/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA.png ** Attachment removed: screenshot https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/+attachment/3541575/+files/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA.png -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Ubuntu 12.10 (UI with US English-UTF-8 codepage) It seems if you KNOW from which SW platform zip file comes from and codepage, you can successfully unzip the archive without loosing non- ASCII filenames not encoded in UTF-8. I just did one experiment to unpack zip file that has been created in Korean Windows 7 and contains the Korean characters in both zip archive name and compressed files. First let's get a local-specific info: $ locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL= Let's check the version of unzip utility: $ unzip --help UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP. ... Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir] Default action is to extract files in list, except those in xlist, to exdir; file[.zip] may be a wildcard. -Z = ZipInfo mode (unzip -Z for usage). ... -O CHARSET specify a character encoding for DOS, Windows and OS/2 archives -I CHARSET specify a character encoding for UNIX and other archives Look at options with the following modifier: -O CHARSET specify a character encoding for DOS, Windows and OS/2 archives It is not -zero, it is -O (capital O letter)! In my case Korean Windows has EUC-KR codepage. The compressed zip-file has 2013년 설날 file name. It means my command line will look like: $ unzip -O EUC-KR 2013년 설날 After checking unpacked files, it works! All files have right Korean encoding without strange characters. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Tags removed: regression-update -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Fixed? -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Archive sample attached here still opening with this bug in Ubuntu 12.04. File Roller 3.4.1 -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Mandriva) Status: Confirmed = Unknown -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
affects me too -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
@Lasee: It's fault of the debian/patches/04-unzip60-alt-iconv-utf8 patch that contains the following: [...] +/* A mapping of local - archive charsets used by default to convert filenames + * of DOS/Windows Zip archives. Currently very basic. */ +static CHARSET_MAP dos_charset_map[] = { +{ ANSI_X3.4-1968, CP850 }, +{ ISO-8859-1, CP850 }, +{ CP1252, CP850 }, +{ UTF-8, CP866 }, +{ KOI8-R, CP866 }, +{ KOI8-U, CP866 }, +{ ISO-8859-5, CP866 } +}; [...] Althouth it's simple to add missing mappings to that table, the patch is broken because it doesn't take language into account, which may cause problems if user's charset is UTF-8 and the language is not russian. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
For whatever the reason, unzip-6.0-4ubuntu1 still doesn't support choosing the codepage and it uses CP866 (cyrillic) by default. This is a very bad choice. The default should be CP437 as is the default used by IBM BIOS, MS-DOS, VGA, etc. It should *also* be configurable via commandline option. Meanwhile, incorrectly extracted filenames can be fixed by convmv -f UTF-8 -t CP866 -r --notest . # Undo the incorrect conversion done by unzip convmv -f CP437 -t UTF-8 -r --notest . # Convert CP437 (MS-DOS charset) into UTF-8 (what Linux systems should use nowadays) If your zip actually uses something else, replace CP437 with the applicable DOS codepage (and remove --notest to do dry runs without actually renaming anything while testing different options). -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
The bug is connected with cyrilic encoding in archives -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I found a bug in this iconv patch: 04-unzip60-alt-iconv-utf8. The problem is, this patch allocate buffer( which is for storing converted string ) twice the size of source string plus one byte. As seen in line 81-84 of the patch. +slen = strlen(string); +s = string; +dlen = buflen = 2*slen; +d = buf = malloc(buflen + 1); This cause conversion fails for some cases. Because, in some character encodings, it requires more than twice the storage to represent a given character in other encodings(especially UTF-8, Ubuntu's default encoding). For example, There are characters HALFWIDTH KATAKANA LETTER. In SHIFT_JIS and CP932 encoding, halfwidth katakana letters are represented in one octet. But, in UTF-8, it requires three octets. For example, 'ア' ( U+FF71: HALFWIDTH KATAKANA LETTER A) is encoded to 0xB1 in Shift_JIS and CP932. This is one octet. But in UTF-8, it is encoded to 0xEF, 0xBD, 0xB1. This is three octets. So, because current unzip just allocate twice the size of source string for buffer, it fails to handle zip file containing a file name consisting all or a lot of half width katakana letter. I suggest to change the size of buffer, four times the size of source string plus one byte. Because, Ubuntu's default encoding is UTF-8 and the largest valid UTF-8 sequence of one character is 4 octet. replace the line 83 of 04-unzip60-alt-iconv-utf8 to the following: +dlen = buflen = 4*slen; -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I can't unzip a file created in windows without having weird filenames! This bug seems 7 years old -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Hi, all. I wonder we'd have a test cases database. I think we can use the bug tracking systems come with code hosting services . People use different natural languages and have different compression preferences can all post sample archives. Maintainers mark new and essential test cases as confirmed, repeated test cases as duplicate, ... This database, more specifically the confirmed part, can then be used as the verification tool of proposed solutions. This bug points to several unzip packages in different distributions. It seems that info-zip people refused local encoding related patch and info-zip's board is down. We'd maintain the patch ourselves, which is not ideal. (I'm not very sure whether info-zip's license permits forking) Is it possible to use p7zip, bsdtar or other promising projects, if any, as our foundation? if we have an CLI archiver with official supported encoding conversion capacity. The remaining work for file-roller and ark would be much easier. Changing main archiver may not be that dangerous, I believe, if we have enough test cases. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Assignee: wert (wert-dmitrii) = (unassigned) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Assignee: (unassigned) = wert (wert-dmitrii) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
assignee: madlokil means that madlokil is the developer responsible for fixing the bug. status: In progress by thefusionite means that someone is working to fix the bug, so the other developers don't need to bother with it. So by setting the status to assigned+in progress, you actually discourage developers from working on this bug. Allow me to assume that it was done by mistake, and to reset the status to unassigned and triaged. WRT comments #96 and 97, since the newer unzip version is not yet packaged for Debian, and doesn't look like it will be in time for Precise, could we do something so that we don't have a broken unzip in the next LTS version too? * Either package the newer upstream version, * Or check what's missing from the existing patch that prevents -I and -O from working? ** Changed in: unzip (Ubuntu) Status: In Progress = Triaged ** Changed in: unzip (Ubuntu) Assignee: Mad_Loki (madloki1) = (unassigned) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Status: Triaged = In Progress -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Assignee: Brian Thomason (brian-thomason) = Mad_Loki (madloki1) -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Tags removed: rls-mgr-o-tracking -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Tags added: rls-mgr-o-tracking -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
I'm out of the office until 1st August. On 12 May 2011, at 15:06, f-firefox 580...@bugs.launchpad.net wrote: ** Changed in: unzip (Ubuntu) Status: Triaged = New -- You received this bug notification because you are a member of Papercutters, which is subscribed to One Hundred Paper Cuts. https://bugs.launchpad.net/bugs/580961 Title: unzip fails to deal correctly with filename encodings Status in File Roller: Confirmed Status in One Hundred Paper Cuts: Invalid Status in The Linux Mint Distribution: Triaged Status in Ubuntu Japanese Kaizen Project: Fix Committed Status in unzip - free software .zip unarchiver: Unknown Status in “unzip” package in Ubuntu: New Status in “unzip” source package in Natty: Won't Fix Status in “unzip” package in Debian: Confirmed Status in Gentoo Linux: Won't Fix Status in “unzip” package in Mandriva: Confirmed Status in “unzip” package in openSUSE: Unknown Bug description: Binary package hint: unzip This is a fairly annoying bug that's been around and known at least since 2005. It's very visible as it will very often make exchange of zip files with Windows users impossible, for example. As such, it gathered it's fair share of me too and how dare you haven't fixed this yet!!111! comments. Problem description: zip/unzip and the specification fall short when dealing with non- ASCII filenames not encoded in UTF-8 test case: do an unzip -l on the file http://tinyurl.com/2aofpxs and witness the question marks affected programs: the problem is in unzip itself, but affects GUI like xarchiver, file-roller, etc. that rely on unzip for the decompression suggested solutions (most are workarounds, not proper fixes): a) reintroduce patch for codepage-based zip filenames: bug 477755, http://tinyurl.com/2aqdbqg (Ubuntu blueprint) b) unzip filename according to locale: bug 203609 c) Ubuntu JP has a patch, probably not generally applicable, bug 269482 d) Russian altlinux distro uses natspec lib and patched zip binary natspec was mentioned in bug 477755 comment #2 and may indeed be a proper fix, needs closer inspection (I haven't really looked, yet. As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=306403 there is no failsafe, straight-forward way to fix this in all cases. Nonetheless, the current situation can and should be improved. There's some good ideas floating around. It needs somebody to pull and wrap them together. It's unfortunate the FOSS community so far hasn't been able to fix this rather visible problem. I'm opening this ticket as a master bug and clean slate to document the issue and current status. Please don't ruin it by making above-mentioned unhelpful comments, they actually slow things down! Please don't nominate for a release. Unless you're a dev and can provide a patch, you should think VERY carefully to do anything but 1) subscribe yourself to this ticket 2) mark this bug as affecting you 3) tell me via mail about other bugs you think are a duplicate of this one, discussing the same problem 1) to 3) will showcase to the devs how many people are affected and that is the only real chance we have for somebody to take a serious look. Me too comments do the opposite, so again, please don't do it. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
I'm out of the office until 1st August. On 12 May 2011, at 13:35, Bartosz 580...@bugs.launchpad.net wrote: ** Changed in: unzip (Ubuntu) Status: Fix Released = Triaged -- You received this bug notification because you are a member of Papercutters, which is subscribed to One Hundred Paper Cuts. https://bugs.launchpad.net/bugs/580961 Title: unzip fails to deal correctly with filename encodings Status in File Roller: Confirmed Status in One Hundred Paper Cuts: Invalid Status in The Linux Mint Distribution: Triaged Status in Ubuntu Japanese Kaizen Project: Fix Committed Status in unzip - free software .zip unarchiver: Unknown Status in “unzip” package in Ubuntu: Triaged Status in “unzip” source package in Natty: Won't Fix Status in “unzip” package in Debian: Confirmed Status in Gentoo Linux: Won't Fix Status in “unzip” package in Mandriva: Confirmed Status in “unzip” package in openSUSE: Unknown Bug description: Binary package hint: unzip This is a fairly annoying bug that's been around and known at least since 2005. It's very visible as it will very often make exchange of zip files with Windows users impossible, for example. As such, it gathered it's fair share of me too and how dare you haven't fixed this yet!!111! comments. Problem description: zip/unzip and the specification fall short when dealing with non- ASCII filenames not encoded in UTF-8 test case: do an unzip -l on the file http://tinyurl.com/2aofpxs and witness the question marks affected programs: the problem is in unzip itself, but affects GUI like xarchiver, file-roller, etc. that rely on unzip for the decompression suggested solutions (most are workarounds, not proper fixes): a) reintroduce patch for codepage-based zip filenames: bug 477755, http://tinyurl.com/2aqdbqg (Ubuntu blueprint) b) unzip filename according to locale: bug 203609 c) Ubuntu JP has a patch, probably not generally applicable, bug 269482 d) Russian altlinux distro uses natspec lib and patched zip binary natspec was mentioned in bug 477755 comment #2 and may indeed be a proper fix, needs closer inspection (I haven't really looked, yet. As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=306403 there is no failsafe, straight-forward way to fix this in all cases. Nonetheless, the current situation can and should be improved. There's some good ideas floating around. It needs somebody to pull and wrap them together. It's unfortunate the FOSS community so far hasn't been able to fix this rather visible problem. I'm opening this ticket as a master bug and clean slate to document the issue and current status. Please don't ruin it by making above-mentioned unhelpful comments, they actually slow things down! Please don't nominate for a release. Unless you're a dev and can provide a patch, you should think VERY carefully to do anything but 1) subscribe yourself to this ticket 2) mark this bug as affecting you 3) tell me via mail about other bugs you think are a duplicate of this one, discussing the same problem 1) to 3) will showcase to the devs how many people are affected and that is the only real chance we have for somebody to take a serious look. Me too comments do the opposite, so again, please don't do it. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
I'm out of the office until 1st August. On 12 May 2011, at 12:22, f-firefox 580...@bugs.launchpad.net wrote: ** Changed in: unzip (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Papercutters, which is subscribed to One Hundred Paper Cuts. https://bugs.launchpad.net/bugs/580961 Title: unzip fails to deal correctly with filename encodings Status in File Roller: Confirmed Status in One Hundred Paper Cuts: Invalid Status in The Linux Mint Distribution: Triaged Status in Ubuntu Japanese Kaizen Project: Fix Committed Status in unzip - free software .zip unarchiver: Unknown Status in “unzip” package in Ubuntu: Fix Released Status in “unzip” source package in Natty: Won't Fix Status in “unzip” package in Debian: Confirmed Status in Gentoo Linux: Won't Fix Status in “unzip” package in Mandriva: Confirmed Status in “unzip” package in openSUSE: Unknown Bug description: Binary package hint: unzip This is a fairly annoying bug that's been around and known at least since 2005. It's very visible as it will very often make exchange of zip files with Windows users impossible, for example. As such, it gathered it's fair share of me too and how dare you haven't fixed this yet!!111! comments. Problem description: zip/unzip and the specification fall short when dealing with non- ASCII filenames not encoded in UTF-8 test case: do an unzip -l on the file http://tinyurl.com/2aofpxs and witness the question marks affected programs: the problem is in unzip itself, but affects GUI like xarchiver, file-roller, etc. that rely on unzip for the decompression suggested solutions (most are workarounds, not proper fixes): a) reintroduce patch for codepage-based zip filenames: bug 477755, http://tinyurl.com/2aqdbqg (Ubuntu blueprint) b) unzip filename according to locale: bug 203609 c) Ubuntu JP has a patch, probably not generally applicable, bug 269482 d) Russian altlinux distro uses natspec lib and patched zip binary natspec was mentioned in bug 477755 comment #2 and may indeed be a proper fix, needs closer inspection (I haven't really looked, yet. As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=306403 there is no failsafe, straight-forward way to fix this in all cases. Nonetheless, the current situation can and should be improved. There's some good ideas floating around. It needs somebody to pull and wrap them together. It's unfortunate the FOSS community so far hasn't been able to fix this rather visible problem. I'm opening this ticket as a master bug and clean slate to document the issue and current status. Please don't ruin it by making above-mentioned unhelpful comments, they actually slow things down! Please don't nominate for a release. Unless you're a dev and can provide a patch, you should think VERY carefully to do anything but 1) subscribe yourself to this ticket 2) mark this bug as affecting you 3) tell me via mail about other bugs you think are a duplicate of this one, discussing the same problem 1) to 3) will showcase to the devs how many people are affected and that is the only real chance we have for somebody to take a serious look. Me too comments do the opposite, so again, please don't do it. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
I'm out of the office until 1st August. On 8 May 2011, at 21:06, Vova 580...@bugs.launchpad.net wrote: ** Changed in: unzip (Ubuntu Natty) Assignee: Brian Thomason (brian-thomason) = Vova (vosha) -- You received this bug notification because you are a member of Papercutters, which is subscribed to One Hundred Paper Cuts. https://bugs.launchpad.net/bugs/580961 Title: unzip fails to deal correctly with filename encodings Status in File Roller: Confirmed Status in One Hundred Paper Cuts: Invalid Status in The Linux Mint Distribution: Triaged Status in Ubuntu Japanese Kaizen Project: Fix Committed Status in unzip - free software .zip unarchiver: Unknown Status in “unzip” package in Ubuntu: Triaged Status in “unzip” source package in Natty: Won't Fix Status in “unzip” package in Debian: Confirmed Status in Gentoo Linux: Won't Fix Status in “unzip” package in Mandriva: Confirmed Status in “unzip” package in openSUSE: Unknown Bug description: Binary package hint: unzip This is a fairly annoying bug that's been around and known at least since 2005. It's very visible as it will very often make exchange of zip files with Windows users impossible, for example. As such, it gathered it's fair share of me too and how dare you haven't fixed this yet!!111! comments. Problem description: zip/unzip and the specification fall short when dealing with non- ASCII filenames not encoded in UTF-8 test case: do an unzip -l on the file http://tinyurl.com/2aofpxs and witness the question marks affected programs: the problem is in unzip itself, but affects GUI like xarchiver, file-roller, etc. that rely on unzip for the decompression suggested solutions (most are workarounds, not proper fixes): a) reintroduce patch for codepage-based zip filenames: bug 477755, http://tinyurl.com/2aqdbqg (Ubuntu blueprint) b) unzip filename according to locale: bug 203609 c) Ubuntu JP has a patch, probably not generally applicable, bug 269482 d) Russian altlinux distro uses natspec lib and patched zip binary natspec was mentioned in bug 477755 comment #2 and may indeed be a proper fix, needs closer inspection (I haven't really looked, yet. As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=306403 there is no failsafe, straight-forward way to fix this in all cases. Nonetheless, the current situation can and should be improved. There's some good ideas floating around. It needs somebody to pull and wrap them together. It's unfortunate the FOSS community so far hasn't been able to fix this rather visible problem. I'm opening this ticket as a master bug and clean slate to document the issue and current status. Please don't ruin it by making above-mentioned unhelpful comments, they actually slow things down! Please don't nominate for a release. Unless you're a dev and can provide a patch, you should think VERY carefully to do anything but 1) subscribe yourself to this ticket 2) mark this bug as affecting you 3) tell me via mail about other bugs you think are a duplicate of this one, discussing the same problem 1) to 3) will showcase to the devs how many people are affected and that is the only real chance we have for somebody to take a serious look. Me too comments do the opposite, so again, please don't do it. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
I'm out of the office until 1st August. On 28 Apr 2011, at 09:35, sergzxc 580...@bugs.launchpad.net wrote: zip/unzip and the specification fall short when dealing with non-ASCII filenames not encoded in UTF-8 -- You received this bug notification because you are a member of Papercutters, which is subscribed to One Hundred Paper Cuts. https://bugs.launchpad.net/bugs/580961 Title: unzip fails to deal correctly with filename encodings Status in File Roller: Confirmed Status in One Hundred Paper Cuts: Invalid Status in The Linux Mint Distribution: Triaged Status in Ubuntu Japanese Kaizen Project: Fix Committed Status in unzip - free software .zip unarchiver: Unknown Status in “unzip” package in Ubuntu: Triaged Status in “unzip” source package in Natty: Won't Fix Status in “unzip” package in Debian: Confirmed Status in Gentoo Linux: Won't Fix Status in “unzip” package in Mandriva: Confirmed Status in “unzip” package in openSUSE: Unknown Bug description: Binary package hint: unzip This is a fairly annoying bug that's been around and known at least since 2005. It's very visible as it will very often make exchange of zip files with Windows users impossible, for example. As such, it gathered it's fair share of me too and how dare you haven't fixed this yet!!111! comments. Problem description: zip/unzip and the specification fall short when dealing with non- ASCII filenames not encoded in UTF-8 test case: do an unzip -l on the file http://tinyurl.com/2aofpxs and witness the question marks affected programs: the problem is in unzip itself, but affects GUI like xarchiver, file-roller, etc. that rely on unzip for the decompression suggested solutions (most are workarounds, not proper fixes): a) reintroduce patch for codepage-based zip filenames: bug 477755, http://tinyurl.com/2aqdbqg (Ubuntu blueprint) b) unzip filename according to locale: bug 203609 c) Ubuntu JP has a patch, probably not generally applicable, bug 269482 d) Russian altlinux distro uses natspec lib and patched zip binary natspec was mentioned in bug 477755 comment #2 and may indeed be a proper fix, needs closer inspection (I haven't really looked, yet. As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=306403 there is no failsafe, straight-forward way to fix this in all cases. Nonetheless, the current situation can and should be improved. There's some good ideas floating around. It needs somebody to pull and wrap them together. It's unfortunate the FOSS community so far hasn't been able to fix this rather visible problem. I'm opening this ticket as a master bug and clean slate to document the issue and current status. Please don't ruin it by making above-mentioned unhelpful comments, they actually slow things down! Please don't nominate for a release. Unless you're a dev and can provide a patch, you should think VERY carefully to do anything but 1) subscribe yourself to this ticket 2) mark this bug as affecting you 3) tell me via mail about other bugs you think are a duplicate of this one, discussing the same problem 1) to 3) will showcase to the devs how many people are affected and that is the only real chance we have for somebody to take a serious look. Me too comments do the opposite, so again, please don't do it. -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Glad to know that! Have a nice vacation! -- 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 To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/580961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (openSUSE) Status: Unknown = Fix Released ** Changed in: unzip (openSUSE) Importance: Unknown = Medium -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
@f-firefox: please stop changing the status. ** Changed in: unzip (Ubuntu) Status: New = Triaged -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Status: Triaged = Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Status: Fix Released = Triaged -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu) Status: Triaged = New -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Ubuntu Natty) Assignee: Brian Thomason (brian-thomason) = Vova (vosha) -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
there is a bug -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
zip/unzip and the specification fall short when dealing with non-ASCII filenames not encoded in UTF-8 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: linuxmint Status: New = Triaged -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
@frol: ppa:frol/zip-i18n contains libnatspec 0.2.6-0ubuntu2, while ppa:r0lf/ppa contains a later version, libnatspec 0.2.6-1. $ dpkg --compare-versions 0.2.6-0ubuntu2 gt 0.2.6-1 || echo Needs version bump Needs version bump For people that have/had r0lf's ppa in their sources to be able to upgrade, you'd need to bump the version. I've tested with sudo apt-get install libnatspec0=0.2.6-0ubuntu2 and indeed now it correctly autodetects, lists and uncompresses cp737 (Greek) zip files. Thanks! -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Description changed: -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
OK, I copied libnatspec to ppa:frol/zip-i18n and restored support for CP737 and CP775. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Alkis, now you are really going too far with your character assassination and outright lying. You've signed the CoC, you should apologize. I never asked for money to get this situation sorted, at least not for myself. I'm just fed up with people who make all kinds of grandish claims and demands but do zilch to get to a REAL solution. People who NEED A FIX RIGHT NOW!1! and can't code or package simply ought to pay someone to fix the issue or band together and pledge a bounty. People also still haven't understood that even if libnatspec were to work as intended and even if it were a step in the right direction getting it included wouldn't even be half-way to a proper fix. There'd still be many things left to be done. Insinuating that I was asking for money for myself for packaging libnatspec is so laughable it's not even funny ;-) Read through the ticket and you will see my many (ultimately failed) attempts to keep the ticket focused so a REAL developer will have a look at it. Alkis, I've marked your ticket as a dupe to this one in the hope to focus discussion. That's a bit different than what you are hinting at with he closed. You even thanked me for taking it up a few hours after I did that. You are so sneaky, it makes me sick. I'm very happy I left this ticket. Unfortunately, I cannot completely unsubscribe myself from it, so I still have to bear with the many idiotic comments it gets. I've lost all interest in this issue, I have no intention of doing anything further to help get a proper fix into Debian or Ubuntu and thus don't really consider myself the libnatspec maintainer. People are of course free to grab my package but I won't be making any updates to it. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Please could I remind me of the: Ubuntu Code of Conduct http://www.ubuntu.com/community/conduct For many people Free software and Ubuntu are a hobby. If somebody else's hobby happens to make (your) life easier, then great; but it's still often their hobby …with the time being contributed freely from their own heart and for their own gratification. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
yeah, you right - its not a paper cut. its really a knife stab btw just compile version from here ftp://ftp.info- zip.org/pub/infozip/beta/unzip610b.zip it work quite well, except it still doesnt work with er.. lets say, winrar-maked zip archives - interoperability with other os not achieved oh, and it broke file-roller too. :( For now frol's ppa is best solution (for me, at least) (thanks flol !) -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
frol wrote on 2011-04-01: Alkis, can You please confirm that libnatspec is working correctly on your machine, by installing natspec-bin frol ppa:r0lf/ppa and running natspec -i? Does it correclty detects charsets for your locale? Also can You post output of zipinfo -v biografiko.zip? It correctly detects the WIN encoding, which is CP1253, but it doesn't correctly detect the DOS encoding. It claims it to be 437, while the correct one is 737: http://en.wikipedia.org/wiki/Code_page_737 Attaching the output of those commands. Also attaching the correct output, which is produced if one manually specifies the encoding: $ ZIPINFO='-O CP737' zipinfo -v biografiko.zip ** Attachment added: natspec-output https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/+attachment/1974167/+files/natspec-output -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Alkis, You need to cantact libnatspec maintainer about this bug: https://launchpad.net/~r0lf/+contactuser -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
frol wrote 51 minutes ago: Alkis, You need to cantact libnatspec maintainer about this bug: https://launchpad.net/~r0lf/+contactuser That person closed my bug report (LP #477755) where I was suggesting the altlinux solution that was finally accepted upstream, in order to open this bug. Then he told me that comments in this bug report were unwelcome (comment #16), so I became unable to provide feedback to the bug I reported. Then he started asking people money about his packaging job in libnatspec (developed by Vitaly Lipatov) and being rude when people weren't willing to pay. Fortunately at a point he got insulted because people continued to comment on this bug report, and left. What I mean is that I don't want to contact that package maintainer, and if possible, I wouldn't want to use his package either, more so when the upstream solution doesn't use it. I've been coding open source programs for almost 20 years now, and been packaging some of them in the last few years that I've switched to Linux. I'd prefer to redo any needed coding or packaging work myself before having to cooperate with such a person. For now I'll just wait for Debian to package the newer version of unzip, and then contact upstream if any problems persist. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: hundredpapercuts Status: Confirmed = Invalid -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Alkis Georgopoulos wrote on 2011-02-15: 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. Alkis, can You please confirm that libnatspec is working correctly on your machine, by installing natspec-bin frol ppa:r0lf/ppa and running natspec -i? Does it correclty detects charsets for your locale? Also can You post output of zipinfo -v biografiko.zip? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
For me the latest libnatspec does not recognize the charset correctly. Attached are both outputs. ** Attachment added: Output of natspec and zipinfo for an archive with hebrew filenames https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/580961/+attachment/1963061/+files/zipnatspecinfo -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Also affects: linuxmint Importance: Undecided Status: New -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
If I'm not mistaken, a fix for this bug has been committed upstream since 2010/12/05: ftp://ftp.info-zip.org/pub/infozip/beta/unzip610b.zip A related post in their forums: http://www.info-zip.org/phpBB3/viewtopic.php?f=7t=223start=45#p2113 Maybe it'd be simpler to use the 6.1 package rather than applying the altlinux patch? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
Alkis Georgopoulos [2011-03-10 12:27 -]: If I'm not mistaken, a fix for this bug has been committed upstream since 2010/12/05: ftp://ftp.info-zip.org/pub/infozip/beta/unzip610b.zip If that makes it any better, sure. Maybe it'd be simpler to use the 6.1 package rather than applying the altlinux patch? 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? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Στις 10-03-2011, ημέρα Πεμ, και ώρα 15:04 +, ο/η 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. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 580961] Re: unzip fails to deal correctly with filename encodings
Alkis Georgopoulos [2011-03-10 17:20 -]: No, the -I and -O options do not work properly. Ah, ok. In this case, updating to the full new upstream version seems fine. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Is Bug #177929 a duplicate of this one? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
Removing the natty task, this is not a new regression and thus not a release blocker. ** Changed in: unzip (Ubuntu Natty) Status: Triaged = Won't Fix -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
** Changed in: unzip (Mandriva) Importance: Unknown = High -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
I confirm that 6.0-4ubuntu1 is still half-broken, compared to previous Ubuntu versions. * 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. I tested with http://www.ops.gr/Ergorama/fileUploads/ypiresiaops/prokirikseis/biografiko.zip Btw, here's an easy way to provide the unzip environment variables for all users. Create the following script: $ sudo gedit /usr/local/bin/unzip Paste these 4 lines, but replace cp737 with the appropriate charset for your locale: #!/bin/sh export UNZIP=-O cp737 export ZIPINFO=-O cp737 exec /usr/bin/unzip $@ Save, exit, and make the script executable: $ sudo chmod +x /usr/local/bin/unzip -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580961] Re: unzip fails to deal correctly with filename encodings
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 fat43008 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs