After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581496 - Cannot handle ZIP archives containing files with special chars (i.e. [])
Cannot handle ZIP archives containing files with special chars (i.e. [])
Status: RESOLVED NOTGNOME
Product: file-roller
Classification: Applications
Component: general
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2009-05-05 16:39 UTC by Maxxer
Modified: 2010-06-01 09:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The zip file within the KB_Elnök.pdf cannot be extracted with file-roller. It is compressed on a hungarian localized windows with iso-8859-2 character encoding. (868.19 KB, application/zip)
2009-11-05 20:16 UTC, csirkus
Details

Description Maxxer 2009-05-05 16:39:44 UTC
While trying to open an archive containing files with special characters, like square brackets, file-roller pops an error:

caution: filename not matched:  [MS-ASDTYPE].pdf

Test output of unzip:
$ unzip -l Exchange_Protocols.zip 
Archive:  Exchange_Protocols.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
   536974  04-08-09 06:53   [MS-ASAIRS].pdf
   759076  04-08-09 06:53   [MS-ASCAL].pdf
  3787253  04-08-09 06:53   [MS-ASCMD].pdf



The above example archive can be downloaded here:
http://go.microsoft.com/fwlink/?LinkId=115073
Source page: 
http://msdn.microsoft.com/en-us/library/dd299457.aspx
Comment 1 csirkus 2009-11-05 20:11:18 UTC
With Ubuntu 9.10 and File Roller 2.28.1 the file specified extracts normally. But other special characters, like accented ones, zipped on windows doesnt work. The error message is the same: caution: filename not matched:  01_KB_eln\?k.pdf The \? should be an accented o (ö). I will attach that zip file.
Comment 2 csirkus 2009-11-05 20:16:51 UTC
Created attachment 147035 [details]
The zip file within the KB_Elnök.pdf cannot be extracted with file-roller. It is compressed on a hungarian localized windows with iso-8859-2 character encoding.
Comment 3 Paolo Bacchilega 2009-11-06 12:48:23 UTC
I can open it correctly when p7zip is installed, if p7zip is not installed file-roller uses unzip which doesn't read the file correctly.
Comment 4 Aron Xu 2009-11-10 19:26:15 UTC
I can confirm this for file-roller in gnome-2-28, here is another example:
http://launchpadlibrarian.net/34952301/%E6%B5%8B%E8%AF%95.zip

测试.zip is compressed on a Windows XP with Simplified Chinese environment, there are two empty files named 测试1.txt and 测试2.txt in it. When you decompress them with Ark or File-roller, we won't get correct file names.
Comment 5 Rolf Leggewie 2010-05-15 14:05:45 UTC
This is not a Gnome bug, but a bug in the decompression libs (for most users that will be unzip, for some others it will be p7zip)
Comment 6 Bartosz 2010-06-01 09:18:05 UTC
This bug is duplicate of the:
https://bugzilla.gnome.org/show_bug.cgi?id=306403