This is subtask of https://github.com/openjdk/jdk/pull/12427 .
I have seen C4819 warning in harfbuzz files on Windows (CP932: Japanese locale) d:\github-forked\jdk\src\java.desktop\share\native\libharfbuzz\hb.hh(1): error C2220: 次の警告はエラーとして処理されます d:\github-forked\jdk\src\java.desktop\share\native\libharfbuzz\hb.hh(1): warning C4819: ファイルは、現在のコード ページ (932) で表示できない文字を含んでいます。データの損失を防ぐために、ファイルを Unicode 形式で保存してください。 I added C4819 to DISABLED_WARNINGS_microsoft for libfontmanager and for libfreetype because they are 3rd-party libraries. ------------- Commit messages: - 8301855: C4819 warnings were reported in harfbuzz on Windows Changes: https://git.openjdk.org/jdk/pull/12437/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12437&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8301855 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/12437.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12437/head:pull/12437 PR: https://git.openjdk.org/jdk/pull/12437