ZipInputStream(InputStream, Charset) decodes ZipEntry file name falsely

Ridchi80m

New Member
Java 7 is supposed to fix an old problem with unpacking zip archives with character sets other than UTF-8. This can be achieved by constructor \[code\]ZipInputStream(InputStream, Charset)\[/code\]. So far, so good. I can unpack a zip archive containing file names with umlauts in them when explicitly setting an ISO-8859-1 character set.But here is the problem: When iterating over the stream using \[code\]ZipInputStream.getNextEntry()\[/code\], the entries have wrong special characters in their names. In my case the umlaut "
 
Top