<i18n dev> RFR: 8277398: javac does not accept encoding name COMPAT [v2]
Naoto Sato
naoto at openjdk.java.net
Wed Dec 1 17:14:35 UTC 2021
On Wed, 1 Dec 2021 08:49:09 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:
> But it's not easy to pick up right locale/platform encoding name except for well known users.
JEP 400 has the example to get the encoding name as a one liner:
java -XshowSettings:properties -version 2>&1 | grep file.encoding
(replace `file.encoding` with `native.encoding`, if using JDK18)
I believe this is simple enough.
> Anyway, when I find actual issue with `-J-Dfile.encoding=COMPAT` option for javac command, I will open new one.
I appreciate it. Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6475
More information about the i18n-dev
mailing list