You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add explicit UTF-8 encoding to all file I/O to prevent UnicodeDecodeError (#57) (#58)
On systems where the default locale encoding is not UTF-8 (e.g. GBK on
Chinese Windows), open() and Path.read_text() without an explicit
encoding parameter fail with UnicodeDecodeError when reading UTF-8 files.
Add encoding="utf-8" to every text-mode open() and read_text() call
that was missing it across production code, tests, eval runners, and
scripts.
Closes#57
0 commit comments