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.
2 parents a867ed5 + b1d0e5b commit fb436c4Copy full SHA for fb436c4
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")
266
- '�abc'
+ >>> b'\x80abc'.decode("utf-8", "replace") #doctest: +SKIP
+ '?abc'
267
>>> b'\x80abc'.decode("utf-8", "ignore")
268
'abc'
269
0 commit comments