<i18n dev> RFR: 8274544: Langtools command's usage were garbled on Japanese Windows [v3]

Naoto Sato naoto at openjdk.java.net
Fri Oct 8 21:10:10 UTC 2021


On Wed, 6 Oct 2021 05:04:28 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

>> JEP-400 (UTF-8 by Default) was eabled on JDK18-b13.
>> After JDK18-b13, javac and some other langtool command's usage were garbled on Japanese Windows.
>> These commands use PrintWriter instead of standard out/err with PrintStream.
>
> Ichiroh Takiguchi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8274544: Langtools command's usage were garbled on Japanese Windows

BTW, does the PoC in the jshell bug report really causing the issue?

System.out.println("\u3042")

This is ASCII, so save/resotre does not seem to cause any issues across JDKs with and without JEP400. Did you mean `Systemout.println("あ")` instead?

-------------

PR: https://git.openjdk.java.net/jdk/pull/5771


More information about the i18n-dev mailing list