We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8e8c2 commit 4475f32Copy full SHA for 4475f32
tools/tinytest-codegen.py
@@ -106,4 +106,5 @@ def script_to_map(test_file):
106
output.append(testgroup_struct.format(body='\n'.join(testgroup_members)))
107
108
## XXX: may be we could have `--output <filename>` argument...
109
-print('\n\n'.join(output))
+# Don't depend on what system locale is set, use utf8 encoding.
110
+sys.stdout.buffer.write('\n\n'.join(output).encode('utf8'))
0 commit comments