Withdrawn: 8274544: Langtools command's usage were garbled on Japanese Windows

2021-11-22 Thread Ichiroh Takiguchi
On Thu, 30 Sep 2021 09:36:34 GMT, Ichiroh Takiguchi 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. T

Re: RFR: 8274544: Langtools command's usage were garbled on Japanese Windows [v5]

2021-11-22 Thread Ichiroh Takiguchi
On Fri, 19 Nov 2021 16:48:03 GMT, Naoto Sato wrote: >> Hello @naotoj . >> For PrintStream.getCharset(), following changes may be required. >> >> +++ src/java.base/share/classes/java/io/OutputStreamWriter.java >> +Charset getCharset() { >> +return se.getCharset(); >> +} >> >> +++

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

2021-11-22 Thread Ichiroh Takiguchi
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 expect

Re: RFR: 8277398: javac does not accept encoding name COMPAT

2021-11-22 Thread Ichiroh Takiguchi
On Fri, 19 Nov 2021 07:00:44 GMT, Ichiroh Takiguchi wrote: > ncoding name COMPAT was defined for operating system encoding by JEP-400. > https://openjdk.java.net/jeps/400 > But java does not accept "-encoding COMPAT". Thanks @AlanBateman and @naotoj . I appreciate your good suggestions. My cons

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

2021-11-22 Thread Naoto Sato
On Mon, 22 Nov 2021 16:08:58 GMT, Ichiroh Takiguchi 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 ch