From 89089a73557827d6a364b0e622a565aaa8e0cbf9 Mon Sep 17 00:00:00 2001 From: Leoi Hung Kin Date: Tue, 17 Aug 2021 19:58:29 +0800 Subject: [PATCH] Added "/utf-8" to Windows compilation options. (#603) --- helix-syntax/build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index ca16f6367..75f8c970b 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -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); }