RFR: 8268719: Force execution (and source) code page used when compiling on Windows

Julian Waters jwaters at openjdk.org
Wed Sep 6 13:50:55 UTC 2023


On Tue, 5 Sep 2023 15:51:58 GMT, Saint Wesonga <duke at openjdk.org> wrote:

> Set MSVC source and execution character sets to UTF-8 to enable Visual C++ to compile all source files regardless of the active code page on Windows. This avoids build errors due to "warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss"

Marked as reviewed by jwaters (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/15569#pullrequestreview-1612440039


More information about the build-dev mailing list