aboutsummaryrefslogtreecommitdiff
path: root/bootstrap-mingw.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-01-17 10:45:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-01-17 10:45:06 +0200
commitef6a70de5d0bc252380ebcb21eb84913473ead5d (patch)
treebb27438ea5a0afa69f6db5a9b55b367972dec63e /bootstrap-mingw.bat
parent54c56af1067df562c232cb73b9a1b85f67d9bbf1 (diff)
Use UTF-8 as default input/source charset for C/C++ compilation
Diffstat (limited to 'bootstrap-mingw.bat')
-rw-r--r--bootstrap-mingw.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap-mingw.bat b/bootstrap-mingw.bat
index df7e677..cfd9d7c 100644
--- a/bootstrap-mingw.bat
+++ b/bootstrap-mingw.bat
@@ -83,7 +83,7 @@ rem
rem Note that for as long as we support GCC 4.9 we have to compile in the
rem C++14 mode since 4.9 doesn't recognize c++1z.
rem
-set "ops=-std=c++1y"
+set "ops=-finput-charset=UTF-8 -std=c++1y"
:ops_next
shift
if "_%1_" == "__" (