From: Jochen H. <Hoe...@In...> - 2003-02-19 17:23:39
|
On Wednesday 19 February 2003 14:39, JOUHIER Bruno wrote: > ZipInputStream reads the entry name with: > String name = new String(buffer); > ZipOutputStream writes the entry name with: > byte[] name = entry.getName().getBytes(); > > So, if the name contains chars outside of the ASCII range (00-7f), the > library uses the JVM's default code page to convert them (ISO-8859-1 on my > machine). This messes up the entry names because they are encoded in DOS OEM > rather than ISO 8859-1 (é becomes ?) I have no idea how to fix this and still support chinese and other encodings. See this bug report: http://sourceforge.net/tracker/?func=detail&atid=116807&aid=561821&group_id=16807 Do you have any suggestions? Jochen -- Jochen Hoenicke, University of Oldenburg, 26111 Oldenburg, Germany Email: hoe...@in... Tel: +49 441 798 3124 |