<i18n dev> RFR: 8277398: javac does not accept encoding name COMPAT
Naoto Sato
naoto at openjdk.java.net
Fri Nov 19 17:35:11 UTC 2021
On Fri, 19 Nov 2021 07:00:44 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:
> ncoding name COMPAT was defined for operating system encoding by JEP-400.
> https://openjdk.java.net/jeps/400
> But java does not accept "-encoding COMPAT".
Do we want this option in `javac`/`javadoc`? Should `-J-Dfile.encoding=COMPAT` suffice the need?
I don't think `COMPAT` is an encoding name, but a valid value to the system property `file.encoding`. If we wanted to regard `COMPAT` as an encoding alias to the native encoding, I would expect `Charset.forName("COMPAT")` would have to be modified, but I don't think we would do that.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6475
More information about the i18n-dev
mailing list