Hi, I've merged ZipEntry into ZipArchiveEntry and ZipOutputStream into ZipArchiveOutputStream. As a side effect ZipArchiveOutputStream now supports encoding of file names and the zip file comment (among other things that it does better than java.util.zip.ZipOutputStream like providing usable Unix permissions for directory entries).
ZipArchiveOutputStream will now use the platform's native encoding instead of UTF8 by default now, while JarArchiveOutputStream explicitly sets the encoding to UTF8. Does anybody consider this a problem? Ant never had a ZipInputStream replacement, we only use ZipFile since the zip format is a lot easier to implement on top of RandomAccessFile. I suggest we state somewhere in the docs (which docs?) that you should use ZipFile if you intend to read a zip archive with non-UTF8 encoding of filenames. I'll look into merging the Tar streams as well next. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org