summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-syntax/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs
index ca16f636..75f8c970 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);
}