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

Ichiroh Takiguchi itakiguchi at openjdk.java.net
Wed Nov 24 03:05:32 UTC 2021


> 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.

Ichiroh Takiguchi has updated the pull request incrementally with one additional commit since the last revision:

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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6505/files
  - new: https://git.openjdk.java.net/jdk/pull/6505/files/63e6e7bd..8ca6252e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6505&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6505&range=00-01

  Stats: 13 lines in 2 files changed: 0 ins; 10 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6505.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6505/head:pull/6505

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


More information about the i18n-dev mailing list