[pypy-issue] Issue #3116: utf-8 + surrogateescape produces invalid result (pypy/pypy)

Christoph Reiter issues-reply at bitbucket.org
Thu Nov 14 14:29:39 EST 2019


New issue 3116: utf-8 + surrogateescape produces invalid result
https://bitbucket.org/pypy/pypy/issues/3116/utf-8-surrogateescape-produces-invalid

Christoph Reiter:

`b'\xe0\xa0'.decode('utf-8', 'surrogateescape')`\`

On PyPy3 7.2.0: `'\udce0'`

On CPython 3: `'\udce0\udca0'`

‌




More information about the pypy-issue mailing list