Skip to content

Commit 0823121

Browse files
committed
Set stdout and stderr encodings to UTF-8 in build-script-helper.py.
Resolves rdar://123809082
1 parent 240581a commit 0823121

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Utilities/build-script-helper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
import sys
1010
import errno
1111

12+
sys.stdout.reconfigure(encoding='utf-8')
13+
sys.stderr.reconfigure(encoding='utf-8')
14+
1215
if platform.system() == 'Darwin':
1316
shared_lib_ext = '.dylib'
1417
else:

0 commit comments

Comments
 (0)