RFR: 2316: Prefer not to specify UTF-8 if it's used by default

duke duke at openjdk.org
Fri Jul 5 18:48:05 UTC 2024


On Fri, 5 Jul 2024 09:31:39 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> Please review this clean-up. It's about not specifying UTF-8 encoding when it's the default, such as in `Files.{readString, writeString}`.
> 
> The change is very uniform, except for two cases, where specifying the encoding was avoided by slightly more involved refactoring:
> 
>   * `JsonWriter:44`
>   * `XML:42`

@pavelrappo 
Your change (at version 2a137497170f7113a84b9f31e54d3427ccab14aa) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/skara/pull/1668#issuecomment-2211281800


More information about the skara-dev mailing list