summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index ecac406fff..be35522321 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -59,6 +59,11 @@ config("pdfium_common_config") {
]
ldflags += [ "--coverage" ]
}
+
+ if (is_win) {
+ # Assume UTF-8 by default to avoid code page dependencies.
+ cflags += [ "/utf-8" ]
+ }
}
config("pdfium_core_config") {