RFR: 8342936: Enhance java.io.IO with parameter-less println() and readln() [v3]

Jan Lahoda jlahoda at openjdk.org
Tue Nov 5 11:24:29 UTC 2024


On Tue, 5 Nov 2024 09:48:29 GMT, vulinh64 <duke at openjdk.org> wrote:

> My question (please don't bash me, I am new): Any chance we can set the encoding of console? I tested on Java 23 (Windows) and the encoding is `windows-1252` so it will not display unicode characters correctly.

I believe that after https://github.com/openjdk/jdk/pull/21569, the `Console` encoding used by the JDK can be overwritten with `stdout.encoding`.

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

PR Comment: https://git.openjdk.org/jdk/pull/21693#issuecomment-2456910087


More information about the core-libs-dev mailing list