<i18n dev> RFR: 8266774: System property values for stdout/err on Windows UTF-8

Alan Bateman alanb at openjdk.java.net
Sat May 8 07:17:19 UTC 2021


On Fri, 7 May 2021 22:46:08 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Please review this small fix to Windows system property init code. This is leftover from the support for `Console.charset()` method, where it lacked to initialize `sun.stdout/err.encoding` to `UTF-8` for the code page `cp65001`.  The fix has been manually verified, but no automated test case is provided, as automatically setting `UTF-8` for the system locale on Windows test machine seems not possible.

Marked as reviewed by alanb (Reviewer).

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

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


More information about the i18n-dev mailing list