Integrated: 8356978: Convert unicode sequences in Java source code to UTF-8

Magnus Ihse Bursie ihse at openjdk.org
Mon Jun 9 18:01:56 UTC 2025


On Wed, 14 May 2025 14:29:23 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> After we converted the source base to be fully UTF-8, we do not need to use unicode sequences (like \u0123) in string literals. Sometimes, that might still make sense, as for control characters, non-breaking space, etc. But for strings that is supposed to be a coherent text in a language that needs non-ASCII parts of Unicode, this is not so. Instead, having the sequences makes the text just harder to read and edit. We have already removed several such sequences before, but some remains.

This pull request has now been integrated.

Changeset: 156187ac
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/156187accc1c3e2a897ced011727a5c8d8e1b0cf
Stats:     17 lines in 3 files changed: 0 ins; 4 del; 13 mod

8356978: Convert unicode sequences in Java source code to UTF-8

Co-authored-by: Alexey Ivanov <aivanov at openjdk.org>
Reviewed-by: naoto, prr, joehw

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

PR: https://git.openjdk.org/jdk/pull/25229


More information about the core-libs-dev mailing list