Skip to content

Commit d28b4f7

Browse files
committed
Test utf8 force
1 parent 926047d commit d28b4f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/test_other.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9687,6 +9687,8 @@ def test(infile, source_map_added_dir=''):
96879687
self.run_process([EMCC, 'a.o', '-gsource-map'], cwd='build')
96889688
self.assertIn('"../%s"' % expected_source_map_path, read_file('build/a.out.wasm.map'))
96899689

9690+
sys.stdout.reconfigure(encoding='utf-8') ## XXXXXXX
9691+
sys.stderr.reconfigure(encoding='utf-8') ## XXXXXXX
96909692
test('A ä☃ö Z.cpp')
96919693

96929694
# Explicitly test the case of spaces, UTF-8 chars, and a tricky case of a path consisting

0 commit comments

Comments
 (0)