←back to thread

238 points GalaxySnail | 2 comments | | HN request time: 0.41s | source
1. 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 #
2. 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.