Skip to content

Explicit UTF-8 for everything#530

Merged
ethteck merged 3 commits intoethteck:mainfrom
AngheloAlf:more_utf8
Mar 29, 2026
Merged

Explicit UTF-8 for everything#530
ethteck merged 3 commits intoethteck:mainfrom
AngheloAlf:more_utf8

Conversation

@AngheloAlf
Copy link
Copy Markdown
Collaborator

Use utf-8 explicitly every time a plain text file is read or written to.

This should reduce problems when using splat on OSes that do not use utf-8 as the default encoding.

I also simplified some file uses by changing them with pathlib's read_text/write_text/read_bytes/write_bytes

@ethteck ethteck merged commit d503762 into ethteck:main Mar 29, 2026
29 checks passed
@AngheloAlf AngheloAlf deleted the more_utf8 branch March 29, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants