RFR: 8321373: Build should use LC_ALL=C.UTF-8

Erik Joelsson erikj at openjdk.org
Wed Dec 6 00:27:33 UTC 2023


On Tue, 5 Dec 2023 10:35:05 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> We're currently setting LC_ALL=C. Not all tools will default to utf-8 as their encoding of choice when they see this locale, but use an arbitrarily encoding, which might not properly handle all UTF-8 characters. Since in practice, all our encoding is utf8, we should tell our tools this as well.
> 
> This will at least have effect on how Java treats path names including unicode characters.

I think this is ok, but would feel more at ease if you had run through all our internal builds and done compare builds with the patch.

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

PR Comment: https://git.openjdk.org/jdk/pull/16971#issuecomment-1841871611


More information about the build-dev mailing list