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.
make all-pdf
1 parent 85710a4 commit b1d0e5bCopy full SHA for b1d0e5b
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