Skip to content

Commit

Permalink
Merge pull request godotengine#97618 from Repiteo/scons/decode-fix
Browse files Browse the repository at this point in the history
SCons: Fix MSVC decode error
  • Loading branch information
akien-mga authored Sep 29, 2024
2 parents 1fc8208 + 9a8fcd5 commit 72cff2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 72cff2e

Please sign in to comment.