Enforce UTF-8 encoding for file I/O #402
Labels
enhancement
Improves the status quo
:misc
Changes that don't affect users directly: linter fixes, test improvements, etc.
Milestone
Currently we rely on the platform encoding when doing file I/O. Usually the platform encoding is set to UTF-8 so it does not make a difference in many cases. However, we should strictly enforce UTF-8 encoding on all file I/O to avoid failures due to the platform encoding.
We should specifically watch out for these places:
To test it, we can set the platform encoding with
export LC_ALL = C
.The text was updated successfully, but these errors were encountered: