Added "/utf-8" to Windows compilation options. (#603)

This commit is contained in:
Leoi Hung Kin 2021-08-17 19:58:29 +08:00 committed by GitHub
parent a2cd9cce9d
commit 89089a7355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,8 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
command
.args(&["/nologo", "/LD", "/I"])
.arg(header_path)
.arg("/Od");
.arg("/Od")
.arg("/utf-8");
if let Some(scanner_path) = scanner_path.as_ref() {
command.arg(scanner_path);
}