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. ------------- Commit messages: - 8321373: Build should use LC_ALL=C.UTF-8 Changes: https://git.openjdk.org/jdk/pull/16971/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16971&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8321373 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/16971.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16971/head:pull/16971 PR: https://git.openjdk.org/jdk/pull/16971