<i18n dev> Integrated: 8274784: jshell: Garbled character was displayed by System.out.println(...) on Japanese Windows

Ichiroh Takiguchi itakiguchi at openjdk.java.net
Mon Nov 29 00:15:06 UTC 2021


On Mon, 22 Nov 2021 16:08:58 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

> JEP-400 was implemented by JDK18-b13.
> After JDK18-b13, garbled character was displayed by following code on Japanese Windows' command prompt.
> 
> System.out.println("\u3042")
> 
> Japanese "A" should be display ed, but garbled character was displayed.
> Also saved jshell command list did not work as expected if Japanese character was there.
> 
> Following issue has some information
> 8274544: Langtools command's usage were garbled on Japanese Windows #5771
> https://github.com/openjdk/jdk/pull/5771
> This issue also happens on Linux ja_JP.eucjp locale.
> RemoteExecutionControl.java change is required for this issue.
> 
> Also we cannot input Japanese character on Linux ja_JP.eucjp locale terminal.
> AbstractTerminal.java change is required for this issue.

This pull request has now been integrated.

Changeset: 8f9eb620
Author:    Ichiroh Takiguchi <itakiguchi at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8f9eb620acbc447cf9124b1fe5574a9f02115f45
Stats:     4 lines in 2 files changed: 0 ins; 0 del; 4 mod

8274784: jshell: Garbled character was displayed by System.out.println(...) on Japanese Windows

Reviewed-by: naoto

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

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


More information about the i18n-dev mailing list