#15949, 15899: merge with 3.2.
This commit is contained in:
commit
fb436c4eba
|
@ -262,8 +262,8 @@ Unicode result). The following examples show the differences::
|
|||
...
|
||||
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0:
|
||||
invalid start byte
|
||||
>>> b'\x80abc'.decode("utf-8", "replace")
|
||||
'<EFBFBD>abc'
|
||||
>>> b'\x80abc'.decode("utf-8", "replace") #doctest: +SKIP
|
||||
'?abc'
|
||||
>>> b'\x80abc'.decode("utf-8", "ignore")
|
||||
'abc'
|
||||
|
||||
|
|
Loading…
Reference in New Issue