Skip to content

Commit 442d58b

Browse files
committed
Add utf8 to compiler command line.
This is not supported on VS2013 or older. Fixes #47 #51
1 parent c7be1a7 commit 442d58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/projectGenerator_compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ popd\n";
179179
for (uint i = 0; i < numClCalls; i++) {
180180
launchBat += "cl.exe ";
181181
launchBat += extraCl + R"( /D"_DEBUG" /D"WIN32" /D"_WINDOWS" /D"HAVE_AV_CONFIG_H" /D"_USE_MATH_DEFINES" )" +
182-
runCommands + " /c /MP /w /nologo";
182+
runCommands + " /c /MP /w /nologo /utf-8";
183183
uint uiStartPos = totalPos;
184184
for (; totalPos < min(uiStartPos + rowSize, j.second.size()); totalPos++) {
185185
if (runType == 0) {

0 commit comments

Comments
 (0)