| commit | 2cded9c3f31d2fea4b033f44eaa828e508f03391 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jul 08 01:45:13 2011 +0200 |
| committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jul 08 01:45:13 2011 +0200 |
| tree | 1554d9f0baa575b7ae791ff1267c4e493a1b36bf | |
| parent | 081fe46ff96bccb1a256c356443b625b467814c8 [diff] |
Issue #12016: Multibyte CJK decoders now resynchronize faster
They only ignore the first byte of an invalid byte sequence.
For example, b'\xff\n'.decode('gb2312', 'replace') gives '\ufffd\n' instead of
'\ufffd'.