←back to thread

238 points GalaxySnail | 1 comments | | HN request time: 0.218s | source
Show context
Aerbil313 ◴[] No.40173959[source]
Nice. Now the only thing we need is JS to switch to UTF-8. But of course JS can't improve, because unlike any other programming language, we need to be compatible with code written in 1995.
replies(1): >>40176672 #
1. shpx ◴[] No.40176672[source]
This is about when you ask Python to open a file "as text", what encoding it will use by default. The internal representation of strings is a different matter and, like JavaScript, Python doesn't "just use UTF-8" for that.