https://issues.apache.org/bugzilla/show_bug.cgi?id=45627
Summary: (jar task) manifestencoding default value should be UTF-
8 instead of platform default encoding
Product: Ant
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
In order to be consistent with the manifest task, the default encoding of the
manifest should be UTF-8.
A jar manifest should always be encoded as UTF-8 (Jar specification).
See also http://bugs.sun.com/view_bug.do?bug_id=5067559
The manifest encoding options ("manifestencoding" in "jar" task and "encoding"
in "manifest" task) create some confusion, giving the impression that the
manifest can be encoded using any arbitrary encoding (might be true for ant,
but not for Java).
The encoding options should be presented as a convenience mechanism to avoid
encoding conversion of MANIFEST.MF templates. It should also be clearly
documented that MANIFEST.MF encoding should be UTF-8.
The encoding options could also become deprecated to avoid further confusion.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.