From f6e66415687de8657461b617117c29af27d4bd49 Mon Sep 17 00:00:00 2001 From: Prism Tutaj Date: Fri, 21 Feb 2020 00:07:32 -0600 Subject: [PATCH] [XB] Fix python not expecting UTF-8 for the output of vswhere --- xenia-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenia-build b/xenia-build index 7a63b65dd..7c663aa35 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 -prerelease -format json -utf8', shell=False, universal_newlines=True) + vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -prerelease -format json -utf8', shell=False, universal_newlines=True, encoding="utf-8") if vswhere: vswhere = json.loads(vswhere) if vswhere and len(vswhere) > 0: