4 ms·
Yes, thanks. I should have been clearer: the point is that Python 3 obeys the I/O encoding specified by the system locale (which on modern systems is utf-8), wh
by ak217 12y ago
Yes, thanks. I should have been clearer: the point is that Python 3 obeys the I/O encoding specified by the system locale (which on modern systems is utf-8), whereas Python 2 disobeys it and uses ascii by default instead.