RFR: 8260265: UTF-8 by Default [v6]
Alan Bateman
alanb at openjdk.java.net
Thu Jul 22 08:30:52 UTC 2021
On Wed, 21 Jul 2021 17:34:15 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
>
> Naoto Sato has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
>
> - Merge branch 'master' into JDK-8260265
> - Refined `file.encoding` description
> - Merge branch 'master' into JDK-8260265
> - Reflects comments
> - Removed leftover `console` references in `PrintStream`
> - Reflects comments
> - Reflects review comments
> - Merge branch 'master' into JDK-8260265
> - 8260265: UTF-8 by Default
Thanks for incorporating the suggestion for the getProperties text. I think it looks good now.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4733
More information about the net-dev
mailing list