XML for module descriptor
jesse.glick at oracle.com
Fri Apr 13 18:06:57 PDT 2012
On 04/13/2012 07:44 PM, Rémi Forax wrote:
> UTF-8 is not the default encoding on some platforms.
> I think people still want to use their Mac, by example, to code in Java.
In the rare case of someone using a computer with a legacy platform encoding who is editing a module descriptor using a plain text editor (rather than a Jigsaw-aware IDE
of some kind) and using non-ASCII characters in identifiers such as for modules/types/packages, it does not seem a major imposition for them to set their editor to use
UTF-8 for this file.
Keep in mind that JAR manifests have been mandated to use UTF-8 for years; I have never heard of anyone clamoring to use, say, ISO-8859-2 to specify the value of Main-Class.
More information about the jigsaw-dev