File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
wood burning stoves
 
subject: zipping files: problems with german umlauts in filename
 
Similar Threads
how to put two different folders(which is in different location) into one zip entry
Packaging Hibernate files in a HAR file
Where is the information on naming submission?
Downloading a multiple file from server
java.util.zip : Unzipping gives Windows error