From: John L. <je...@pi...> - 2002-05-29 11:35:14
|
> You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=116807&aid=561821&group_id=16807 > > Category: None > Group: None > Status: Open > Resolution: None > Priority: 5 > Submitted By: Nobody/Anonymous (nobody) > Assigned to: Nobody/Anonymous (nobody) > Summary: ZipEntry name in Chinese Problem > > Initial Comment: > If the ZipEntry's name is in Chinese, if will be wrong. > The method to solve this error is: > > in method ZipInputStream.getNextEntry(), > Chage these lines: > > // Changed by Simon. May.29,2002 > // String name = new String(buffer, "UTF8"); > String name = new String(buffer); > > It will be ok. > > > > ---------------------------------------------------------------------- > > >Comment By: Jochen Hoenicke (hoenicke) > Date: 2002-05-29 13:26 > > Message: > Logged In: YES > user_id=18252 > > The info zip application notes doesn't in which encoding the > filename/comments are. I thought UTF8 would be a good idea, > but if that breaks compatibility we should use default encoding. > > There're more places that should be changed, just grep for > UTF8 in the java files. Remove it to denote default encoding. Ok, I'm planning to make a new release of jazzlib anyway (release in .jar file format, with Classpath JAR handling classes included). I'll have a look over the source and post proposed patches here for you to look at. John Leuner |