Commits

Ezio Melotti committed 1aebae2 Draft Merge

#15949, #15899: merge with 3.2.

Comments (0)

Files changed (1)

Doc/howto/unicode.rst

         ...
     UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0:
       invalid start byte
-    >>> b'\x80abc'.decode("utf-8", "replace")  #doctest: +SKIP
-    '?abc'
+    >>> b'\x80abc'.decode("utf-8", "replace")
+    '\ufffdabc'
     >>> b'\x80abc'.decode("utf-8", "ignore")
     'abc'