On Tue, 13 May 2025 00:10:50 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> A handful of html and xml files in the JDK source tree claims to have >> encodings like `ISO-8859-1`, when they are in fact pure US-ASCII files. >> >> While perhaps technically correct, this is misleading, and goes contrary to >> the efforts of turning the source code into UTF-8 proper. >> >> I chose between marking them as "ASCII" and "UTF-8", but chose the latter, >> since otherwise if they ever were to be updated with a non-ASCII character, >> the value would have been unspecified, and after JDK-8301971, all files in >> the JDK repository will be interpreted as UTF-8. > > src/demo/share/jfc/CodePointIM/README.html line 5: > >> 3: <head> >> 4: <title>README - CodePointIM</title> >> 5: <meta http-equiv="content-type" content="text/html; charset=utf-8"> > > I believe this line is equivalent to simple `<meta charset="utf-8"/>` which > is widely used in java.desktop's docs. That seems reasonable, yes. However, I'd like to keep this change to the absolute minimum. Feel free to open a separate issue for fixing this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25148#discussion_r2088152886