Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d0e5b commit 20b8d99Copy full SHA for 20b8d99
1 file changed
Doc/howto/unicode.rst
@@ -262,8 +262,8 @@ Unicode result). The following examples show the differences::
262
...
263
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0:
264
invalid start byte
265
- >>> b'\x80abc'.decode("utf-8", "replace") #doctest: +SKIP
266
- '?abc'
+ >>> b'\x80abc'.decode("utf-8", "replace")
+ '\ufffdabc'
267
>>> b'\x80abc'.decode("utf-8", "ignore")
268
'abc'
269
0 commit comments