forked from platformio/platformio-core
Fixed "UnicodeEncodeError" when a build output contains non-ASCII characters // Resolve #3971
This commit is contained in:
1 parent
d7b7d2de6e
commit
c835ce780a
3 files changed
+6
-2
No files matched your search
@@ -110,6 +110,8 @@ class PlatformRunMixin(object):
|
||||
args.append("%s=%s" % (key.upper(), self.encode_scons_arg(value)))
|
||||
|
||||
proc.copy_pythonpath_to_osenv()
|
||||
# force SCons output to Unicode
|
||||
os.environ["PYTHONIOENCODING"] = "utf-8"
|
||||
|
||||
if targets and "menuconfig" in targets:
|
||||
return proc.exec_command(
|
||||
|
||||
Reference in new issue
Block a user