UnZIP plugin cannot unpack file with accented char

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

UnZIP plugin cannot unpack file with accented char

Post by Jan Patera »

I came accross a ZIP file which claims to be created on UNIX. It contains a single file with accented "i" (zajic.gif). However, when trying to view the file with F3 with AS 2.51 on WinXP/Vista with correct Czech regional settings, I get Error "Unable to unpack file from archive because its name is invalid on Windows file systems and archiver plugin does not support unpacking to another file name." and the viewer does not show up.

I find very interesting that copying the file from the archive with F5 works fine (and preserves the accent).

This problem is perhaps slightly related to this issue
Attachments
Zajic.gif.zip
(30.37 KiB) Downloaded 555 times
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post by Petr Solin »

Thanks for reporting this issue, I'll take a look at it together with the issue you have reminded.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: UnZIP plugin cannot unpack file with accented char

Post by Jan Patera »

Jan Patera wrote:I came accross a ZIP file which claims to be created on UNIX. It contains a single file with accented "i" (zajic.gif).
Ah, the problem is not in the accent but in the space preceding 'z' in thw file name, i.e. the file name is ' zajic.gif'. While the F5 tells the plugin to extract the whole archive "as is", the F3 keys asks the plugin to extract ' zajic.gif' as 'zajic.gif', i.e. without the space. But the plugin does not support renaming when extracting.
Perhaps Salamander is too smart here...
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: UnZIP plugin cannot unpack file with accented char

Post by Jan Patera »

Jan Patera wrote:
Jan Patera wrote:I came accross a ZIP file which claims to be created on UNIX. It contains a single file with accented "i" (zajic.gif).
Ah, the problem is not in the accent but in the space preceding 'z' in thw file name, i.e. the file name is ' zajic.gif'. While the F5 tells the plugin to extract the whole archive "as is", the F3 keys asks the plugin to extract ' zajic.gif' as 'zajic.gif', i.e. without the space. But the plugin does not support renaming when extracting.
Perhaps Salamander is too smart here...
Solved on the plugin side for the next version of Salamander (AS2.53b1-PB41/2.53): the ZIP plugin now supports renaming when extracting single file.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: UnZIP plugin cannot unpack file with accented char

Post by Petr Solin »

Names with leading spaces are not considered as invalid in prepared version 2.53 beta 1 (PB 41), so " Zajíc.gif" is unpacked and opened in viewer as is.
Post Reply