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

Jonathan Gibbons jjg at openjdk.java.net
Wed Nov 10 21:47:34 UTC 2021


On Wed, 10 Nov 2021 20:00:39 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > 1. `PrintStream(OutputStream)` and `PrintStream(OutputStream, boolean)`  should be redefined so that they internally check if the stream arg is a PrintStream, in which case they use the encoding from the `PrinStream` instead of the default.
> 
> I think you mean the PrintWriter constructors here. Yes, there is merit in that. PrintStream is a bit unusual in that it's an OutputStream but it has a charset because it prints text output.

Yes, sorry for the confusion.

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

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


More information about the i18n-dev mailing list