[xenia-build] Make vswhere.exe output in UTF-8 so Python doesn't fail to parse regional characters in output
This commit is contained in:
parent
f7199f6903
commit
17924bc945
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue