-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 17
-
Component/s: core-libs
-
generic
-
generic
-
Verified
`java.io.Console` has been updated to define a new method that returns the `Charset` for the console. The returned Charset may be different from the one returned from `Charset.defaultCharset()` method. For example, it returns `IBM437` while `Charset.defaultCharset()` returns `windows-1252` on Windows (en-US). Refer to the [CSR](https://bugs.openjdk.java.net/browse/JDK-8264209) for more detail.