open a zip file with ziped files including characters like "öäü" in the filename, the filename is unpacked and viewed wrong (").
Michael,..,
Internal ZIP Tool not working with special characters
Internal ZIP Tool not working with special characters
- Attachments
-
- Altap_bug.jpg (262.76 KiB) Viewed 17466 times
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
Michael, it looks like file names are in incorrect character enconding.
How did you create this archive? When you open this archive using Windows Explorer, is it OK?
How did you create this archive? When you open this archive using Windows Explorer, is it OK?
Re: Internal ZIP Tool not working with special characters
I zipped some files, one filename contains a "ü". The results:Indy68 wrote:open a zip file with ziped files including characters like "öäü" in the filename, the filename is unpacked and viewed wrong (")
- zipped with AS = everything fine
- zipped with Winzip 9 = everything fine
- zipped with Compress-It = everything fine
- zipped with 7zip = everything fine
Kind regards, KNUT
_____________________________________________
Satisfied Servant Salamander User from Version 1.5 till now
_____________________________________________
Satisfied Servant Salamander User from Version 1.5 till now
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
Michael, please look at your regional settings in Windows:
http://www.altap.cz/salam_en/help/salam ... upport.htm
(Configure Regional and Language Options)
http://www.altap.cz/salam_en/help/salam ... upport.htm
(Configure Regional and Language Options)
-
- Plugin Developer
- Posts: 707
- Joined: 08 Dec 2005, 14:33
- Location: Prague, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
Michael, could you provide us a sample .ZIP file that shows the problem?Indy68 wrote:open a zip file with ziped files including characters like "öäü" in the filename, the filename is unpacked and viewed wrong (").
RE: Internal ZIP Tool not working with special characters
I tried it and found the problem occurs when the Zip file is created with the Windows compressed folder function. See attached examples, one zipped with AS, one with Windows compressed folder.
When opened in Explorer, both files are shown correctly.
The Windows language option is set to German.
When opened in Explorer, both files are shown correctly.
The Windows language option is set to German.
- Attachments
-
- Zip AS.zip
- (137 Bytes) Downloaded 1045 times
-
- Zip Windows.zip
- (137 Bytes) Downloaded 980 times
-
- ZipProblem.jpg (11.21 KiB) Viewed 17428 times
-
- ZipOK.jpg (10.07 KiB) Viewed 17428 times
-
- Plugin Developer
- Posts: 707
- Joined: 08 Dec 2005, 14:33
- Location: Prague, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
I think it is a bug of all the other tools around or Salamander is too smart. The file created with AS has Zip2.0/DOS as the creator while the one created by Windows has Zip2.0/Win32 as the creator. That's the only difference. File name is stored the same in both cases, with 0x81 for the umlaut 'u' character. While Salamander is smart enough to do the right code page conversion (OEM->ANSI) only in the DOS case, all the other tools assume the file name is always in OEM code page.th. wrote:I tried it and found the problem occurs when the Zip file is created with the Windows compressed folder function. See attached examples, one zipped with AS, one with Windows compressed folder.
When opened in Explorer, both files are shown correctly.
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
I have tried to open these archives in WinZIP 11 and WinRAR 3.62. Archives seems to be OK in both apps, so we should patch this problem. Thanks for reporting this!
-
- Plugin Developer
- Posts: 707
- Joined: 08 Dec 2005, 14:33
- Location: Prague, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
The same problem encountered here.Indy68 wrote:open a zip file with ziped files including characters like "öäü" in the filename, the filename is unpacked and viewed wrong (").
To summarize findings:
1) Always converts OEM -> ANSI:
WinZIP 11, 12
WinRAR 3.62
WinACE 2.69
7z 4.45, 4.60
2) Never converts OEM -> ANSI:
PKZIP 2.50
3) Is smart, decides on creator:
Altap Salamander (any version)
FAR
-
- Plugin Developer
- Posts: 707
- Joined: 08 Dec 2005, 14:33
- Location: Prague, Czech Republic
- Contact:
Re: Internal ZIP Tool not working with special characters
I slightly changed the condition when AS decides to convert filenames from OEM to ANSI codepage. Can I ask you (and all the other enthusiastic AS users around) to test support for accented characters in ZIP archives created by other (non-AS) tools in the upcoming AS 2.53 beta 2 (so that it gets well tested before the official release 2.53)?Jan Patera wrote:I think it is a bug of all the other tools around or Salamander is too smart.