aspose file tools*
The moose likes I/O and Streams and the fly likes zipping files: problems with german umlauts in filename Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "zipping files: problems with german umlauts in filename" Watch "zipping files: problems with german umlauts in filename" New topic
Author

zipping files: problems with german umlauts in filename

simon worx
Greenhorn

Joined: Oct 09, 2003
Posts: 8
hello all,
i have a problem with zipping files:
i use the class JarOutputStream, JarEntry (java.util.jar.*) to zip few files together to a archive. That works fine for normal filenames but when the filename have a german umlaut like "Pr´┐Żfdokument.txt" in it, in the zip archive the filename is called "Pr++fdokument.txt". When i look at the name of the jarEntry Object with the method getName() i get the correct name.
nowhere In my whole application i have a problem with the german umlaut so: what do i have to change?? wheres the problem??
by the way: when the file-data includes a umlaut it works fine... only the names are incorrect!
sim
 
 
subject: zipping files: problems with german umlauts in filename