[Python-ideas] Python 3000 TIOBE -3%

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Sat Feb 11 06:04:07 CET 2012


On Feb 10, 2012, at 5:32 PM, Stephen J. Turnbull wrote:

> will founder on 'Óscar Fuentes' as author, unless you know what coding
> system is used, or know enough to use latin-1 (because it's
> effectively binary, not because it's the actual encoding).

Or just use errors="surrogateescape". I think we should tell people who are scared of unicode and refuse to learn how to use it to just add an errors="surrogateescape" keyword to their file open arguments. Obviously, it's the wrong thing to do, but it's wrong in the same way that Python 2 bytes are wrong, so if you're absolutely committed to remaining ignorant of encodings, you can continue to do that.


More information about the Python-ideas mailing list