On Wed, 1 Dec 2021 08:49:09 GMT, Ichiroh Takiguchi <itakigu...@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