Page 1 of 1

UnZIP plugin cannot unpack file with accented char

Posted: 03 Nov 2008, 18:49
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

Posted: 03 Nov 2008, 21:56
by Petr Solin
Thanks for reporting this issue, I'll take a look at it together with the issue you have reminded.

Re: UnZIP plugin cannot unpack file with accented char

Posted: 02 Dec 2008, 21:22
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...

Re: UnZIP plugin cannot unpack file with accented char

Posted: 07 Dec 2009, 20:58
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.

Re: UnZIP plugin cannot unpack file with accented char

Posted: 23 Dec 2009, 11:50
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.