Commit 301b842
authored
Set PYTHONUTF8 when running tests on windows. NFC. (#14179)
Many of our tests include UTF8 encoded files, and on the CI machines
python cannot read them since it uses the windows codepage which is
`cp1252`. This envrionment variable forces python to assume UTF8
encoded text files and stdin/stdout.
We already set this when running our windows tests on
emscripten-releases bots.
Add an extra test to the windows bot that verifies is can read UTF8
encoded expectations files (even though this test is about UTF16 the
expectation file is still UTF8).1 parent aa486b5 commit 301b842
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
455 | 458 | | |
456 | 459 | | |
457 | 460 | | |
| |||
470 | 473 | | |
471 | 474 | | |
472 | 475 | | |
473 | | - | |
| 476 | + | |
474 | 477 | | |
475 | 478 | | |
476 | 479 | | |
| |||
0 commit comments