News for hackers. Stuff that matters.
Re:Mercurial’s journey to and reflections on Python 3 by takeda on Monday January 13, 2020 @06:59PM (#22040198)
I think the issue is with people getting used to python 2 approach, where the distinction was between str (bytes) and unicode. In python 3 you should not think of bytes vs unicode, you should think as text vs bytes and you should use text as long as necessary.

BTW: I believe the http headers supposed to be encoded using ISO-8859-1 it's essentially same thing as US-ASCII, but it covers an entire byte.

There are no comments on this comment yet.