[Python-ideas] PEP 540: Add a new UTF-8 mode
victor.stinner at gmail.com
Thu Jan 5 20:30:09 EST 2017
2017-01-06 0:35 GMT+01:00 Steven D'Aprano <steve at pearwood.info>:
>> Python 3 promotes Unicode everywhere including filenames. A solution to
>> support filenames not decodable from the locale encoding was found: the
>> ``surrogateescape`` error handler (`PEP 393
>> <https://www.python.org/dev/peps/pep-0393/>`_), store undecodable bytes
>> as surrogate characters.
> PEP 393 is the Flexible String Respresentation.
> I think you want PEP 383, Non-decodable Bytes in System Character
Oops, fixed, thanks :-)
More information about the Python-ideas