Message274560
On Tue, Sep 6, 2016 at 4:10 PM, Eryk Sun <report@bugs.python.org> wrote:
> Lone surrogate codes aren't valid Unicode. In Python 3 they get used internally for tricks like the "surrogateescape" error handler. In Python 3.4+. the 'surrogatepass' error handler allows encoding and decoding lone surrogates:
To add some context: I was writing tests for windows paths containing
surrogates (e.g. os.listdir can return them) |
|
Date |
User |
Action |
Args |
2016-09-06 15:10:57 | lazka | set | recipients:
+ lazka, vstinner, ezio.melotti, eryksun, xiang.zhang |
2016-09-06 15:10:57 | lazka | link | issue27971 messages |
2016-09-06 15:10:57 | lazka | create | |
|