←back to thread

238 points GalaxySnail | 1 comments | | HN request time: 0.229s | source
Show context
lexicality ◴[] No.40169320[source]
> Additionally, many Python developers using Unix forget that the default encoding is platform dependent. They omit to specify encoding="utf-8" when they read text files encoded in UTF-8

"forget" or possibly simply aren't made well enough aware? I genuinely thought that python would only use UTF-8 for everything unless you explicitly ask it to do otherwise.

replies(2): >>40170712 #>>40171480 #
1. ◴[] No.40170712[source]