Hi Kristina,

just a question on this topic...does currently jar from plexus-archiver already behave like this and uses UTF-8 encoding always ? Or is this platform dependent?


On 10/10/14 8:26 AM, Kristian Rosenvold wrote:
Currently plexus-archiver uses platform encoding for zip file names if
none is specified. This is "compliant" with traditional Zip history.

But zip understood this is a problem and introduced a "LEF" flag,
which basically means all entries must be UTF-8.

I would like to switch defaults in plexus zip archiver; make it
*disregard* platform encoding and always output utf8 + LEF, unless a
different encoding has been explicitly specified.

In consequence this would make zip behave like "jar" does; always
default to the well-defined UTF-8 + LEF standard.

This will break builds for people that actually *want* archives in
file.encoding; they will need to explicitly specify encoding to get
that encoding. To my understanding this is not really an issue, LEF
support is ancient history.

Opinions ?

Kristian

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



Kind regards
Karl Heinz Marbaise

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

Reply via email to