Message346248
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 1: invalid continuation byte
Python is right: b'f\xf1\xf6rd' is not a valid UTF-8 string:
$ python3
Python 3.7.3 (default, May 11 2019, 00:38:04)
>>> b'f\xf1\xf6rd'.decode()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 1: invalid continuation byte
This change is deliberate: it makes UTF-8 incremental decoder correct (respect the UTF-8 standard). I close the issue. |
|
Date |
User |
Action |
Args |
2019-06-21 21:06:40 | vstinner | set | recipients:
+ vstinner, ezio.melotti, methane, serhiy.storchaka, RalfM, xtreak, roufique7 |
2019-06-21 21:06:40 | vstinner | set | messageid: <1561151200.65.0.931341254007.issue24214@roundup.psfhosted.org> |
2019-06-21 21:06:40 | vstinner | link | issue24214 messages |
2019-06-21 21:06:40 | vstinner | create | |
|