[Python-ideas] Fix default encodings on Windows

Random832 random832 at fastmail.com
Tue Aug 16 12:35:06 EDT 2016


On Tue, Aug 16, 2016, at 12:12, Chris Barker wrote:
> * convert and fail on invalid surrogate pairs
> 
> where would an invalid surrogate pair come from? never from a file system
> API call, yes?

In principle it could, if the filesystem contains a file with an invalid
surrogate pair. Nothing else, in general, prevents such a file from
being created, though it's not easy to do so by accident.


More information about the Python-ideas mailing list