summaryrefslogtreecommitdiffstats
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 411ce59d9e..df7ca5a59f 100644
--- a/methods.py
+++ b/methods.py
@@ -807,7 +807,7 @@ def get_compiler_version(env):
if env.msvc and not using_clang(env):
try:
- args = [env["VSWHERE"], "-latest", "-products", "*", "-requires", "Microsoft.Component.MSBuild"]
+ args = [env["VSWHERE"], "-latest", "-products", "*", "-requires", "Microsoft.Component.MSBuild", "-utf8"]
version = subprocess.check_output(args, encoding="utf-8").strip()
for line in version.splitlines():
split = line.split(":", 1)