From cd3b91417cc5df60f464ffbef57f4f8d3188e194 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
java.util.zip
writes UTF-8 by
+ default and uses the language encoding flag. It is possible to
+ specify a different encoding when reading/writing ZIPs via new
+ constructors. The package now recognizes the language encoding
+ flag when reading and ignores the Unicode extra fields.If you are creating jars, then java.util.zip is your main consumer. We recommend you set the encoding to UTF-8 and keep the language encoding flag enabled. The flag won't help or hurt - java.util.zip but archivers that support it will show the correct - file names.
+ java.util.zip prior to Java7 but archivers that support it will show + the correct file names.For maximum interop it is probably best to set the encoding to UTF-8, enable the language encoding flag and create unicode extra