RFR: 8234835 Use UTF-8 charset in make support Java code

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Nov 27 19:36:45 UTC 2019


Martin,

Agreed, but this is not the email-thread to have that discussion on 
behalf of all OpenJDK.

-- Jon


On 11/27/2019 10:18 AM, Martin Buchholz wrote:
> The ubiquitous use of UTF-8 is one of the few clear successes in the
> software world.
> In 2019, most software projects should declare that all their source files
> are encoded in UTF-8, not US-ASCII.
>
> On Wed, Nov 27, 2019 at 9:04 AM Dan Smith <daniel.smith at oracle.com> wrote:
>
>> Please review this patch to make explicit use of the UTF-8 charset in
>> build tools' IO code.
>>
>> JDK-8065704 changed the platform default to US-ASCII, so the intended
>> effect of this change is to address a regression and restore the typical
>> earlier behavior.
>>
>> My particular interest is in fixuppandoc, but it seems like we might has
>> well patch all of this code to avoid relying on the platform default.
>>
>> http://cr.openjdk.java.net/~dlsmith/8234835/




More information about the build-dev mailing list