<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"> I believe the source code of the JDK should be in US-ASCII</span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">Why? This seems like a bizarre thing to believe free of context. </span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">In my experience using non-ascii regularly is the only way to make sure that tools which destroy non-ascii data are not introduced into tool chains which then break cases that matter. </span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">The downside of making things ascii is you miss when bugs are introduced. The upsides of using ascii everywhere are unclear to me. </span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">Also, if it’s 8 bit, it’s not ascii anyway. It’s really Latin-1 or code page-1252 or who knows what. Better to decide everything is utf-8 and fix tools which can’t handle that before they cause issues. </span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span></div><div dir="ltr"><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 21px; -webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">Andrew </span></div><div dir="ltr"><br><blockquote type="cite">On May 6, 2025, at 2:04 PM, Magnus Ihse Bursie <ihse@openjdk.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On Thu, 10 Apr 2025 10:18:08 GMT, Magnus Ihse Bursie <ihse@openjdk.org> wrote:</span><br><span></span><br><blockquote type="cite"><span>As a follow-up to [JDK-8354213](https://bugs.openjdk.org/browse/JDK-8354213), I found some additional places where unicode characters are unnecessarily used instead of pure ASCII.</span><br></blockquote><span></span><br><span>This pull request has now been integrated.</span><br><span></span><br><span>Changeset: 08dd4a75</span><br><span>Author: Magnus Ihse Bursie <ihse@openjdk.org></span><br><span>URL: https://git.openjdk.org/jdk/commit/08dd4a75c5b751a66d2e088b0ec9c6d6c443c14a</span><br><span>Stats: 11 lines in 8 files changed: 0 ins; 1 del; 10 mod</span><br><span></span><br><span>8354273: Replace even more Unicode characters with ASCII</span><br><span></span><br><span>Reviewed-by: naoto</span><br><span></span><br><span>-------------</span><br><span></span><br><span>PR: https://git.openjdk.org/jdk/pull/24567</span><br></div></blockquote></body></html>