From 17924bc9452806e568a88515e932f294c881bb29 Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 29 Jun 2019 13:08:54 +0200 Subject: [PATCH] [xenia-build] Make vswhere.exe output in UTF-8 so Python doesn't fail to parse regional characters in output --- xenia-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenia-build b/xenia-build index 439210dcf..c4f969b3a 100755 --- a/xenia-build +++ b/xenia-build @@ -96,7 +96,7 @@ def import_vs_environment(): install_path = None env_tool_args = None - vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -format json', shell=False, universal_newlines=True) + vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -format json -utf8', shell=False, universal_newlines=True) if vswhere: vswhere = json.loads(vswhere) if vswhere and len(vswhere) > 0: