ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Wåhlander <>
Subject RE: ZIP task å,ä and ö
Date Fri, 03 Dec 2004 10:22:32 GMT
>> This directories which names contains the character å,ä and ö. When I
>> using Windows XP:s built in unzipper these caracters
>> lost. I have tried:

> The problem is almost definitely related to the unzipper. I have a 
> similar problem with Tomcat: Tomcat is unable to extract files that have 
> ISO-8859-1 encoding for filenames, forcing me to use WinZip for 
> extraction of web archives. If I use UTF-8 encoding, I can extract the 
> files with Tomcat, but not with Winzip.

> On the background: The Zip "standard" has never specified how to handle 
> encoding of file names. As a consequence, anyone chooses his preferred 
> way of file name encoding. For example, the classes will 
> *always* use UTF-8 (see 
> WinZip will 
> *always* use the default encoding, which depends on the Locale. I have 
> no idea, what unzipper does, but it seems to have yet another style.

Thanks for the help. I'm now using encoding="ISO-8859-1" and winzip 9.0 and
that works. It still doesn't work with Windows XP:s unzip, but that fine
with me. I can use WinZip.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message