ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Wåhlander <peter.wahlan...@visuera.com>
Subject RE: ZIP task å,ä and ö
Date Fri, 03 Dec 2004 10:22:32 GMT
>> This directories which names contains the character å,ä and ö. When I
unzip
>> VitaNovaHemma.zip using Windows XP:s built in unzipper these caracters
are
>> 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 java.uzil.zip classes will 
> *always* use UTF-8 (see 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4244499). 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.

/Peter





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message