Integrated: 8260265: UTF-8 by Default

Naoto Sato naoto at openjdk.java.net
Mon Aug 30 21:17:41 UTC 2021


On Thu, 8 Jul 2021 21:23:00 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> This is an implementation for the `JEP 400: UTF-8 by Default`. The gist of the changes is `Charset.defaultCharset()` returning `UTF-8` and `file.encoding` system property being added in the spec, but another notable modification is in `java.io.PrintStream` where it continues to use the `Console` encoding as the default charset instead of `UTF-8`. Other changes are mostly clarification of the term "default charset" and their links. Corresponding CSR has also been drafted.
> 
> JEP 400: https://bugs.openjdk.java.net/browse/JDK-8187041
> CSR: https://bugs.openjdk.java.net/browse/JDK-8260266

This pull request has now been integrated.

Changeset: 7fc85409
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7fc8540907e8e7483ad5729ea416167810aa8747
Stats:     409 lines in 22 files changed: 208 ins; 24 del; 177 mod

8260265: UTF-8 by Default

Reviewed-by: alanb, rriggs

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

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


More information about the hotspot-runtime-dev mailing list