bpo-24214: Fixed the UTF-8 incremental decoder. by serhiy-storchaka · Pull Request #12603 · python/cpython

@serhiy-storchaka

The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.

brettcannon

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 30, 2019
The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.
(cherry picked from commit 7a465cb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

serhiy-storchaka added a commit that referenced this pull request

Mar 30, 2019
The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.
(cherry picked from commit 7a465cb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>