Hi all,

a quick update and a question on defaults:

ZipArchiveOutputStream now writes UTF-8 by default and sets the
language encoding flag.  It can be told to create InfoZIP
UnicodeExtraFields but doesn't do so by default.

ZipFile now recognized the language encoding flag and parses the names
as UTF-8 if the flag is set - no matter which encoding has been
specified.  It defaults to UTF-8 anyway.  It can be told to look for
InfoZIP Unicode extra fields and populate names/comments from them,
but doesn't do so by default.

If both the language encoding flag and Unicode*ExtraFields are
present, ZipFile will ignore the extra field.

To me this means encoding support is done except for

* documentation (will tackle that next)

* ZipArchiveInputStream - SANDBOX-293

* WinZIP interop - SANDBOX-292

The question on defaults: should ZipFile look for UnicodeExtraFields
by default or ignore them (as it does right now)?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to