Commit Graph

1 Commits

Author SHA1 Message Date
f9a1be760a tools: pin encoding=utf-8 on five text writes, and test that no text-mode open omits it
rdna2spirv.py (two .spvasm writes), saves.py (index.json, header.json) and spirv_gs_to_compute.py (layout json) opened text files for writing with no encoding, so they used the locale code page (cp1252 on most Windows installs). CONTRIBUTING.md asks for encoding="utf-8". tests/test_text_encoding.py scans tools/, scripts/, make_game.py and runtime/test/shaders/ with ast, like test_text_write_line_endings.py, and runs directly with python -I.
2026-11-22 13:33:46 -05:00