commit | 20b8d992b008672d52a84c8d35992033ccfc9d84 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Sun Sep 23 15:55:14 2012 +0300 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Sun Sep 23 15:55:14 2012 +0300 |
tree | ba65a38ab73c796d807d9c78e9d7a7161c4aa5b0 | |
parent | b1d0e5b11eac1ed5ae3d41bf952a3f68ad35f668 [diff] [blame] |
#15949, #15899: use \ufffd instead of ?.
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst index ea83d29..f9eeae4 100644 --- a/Doc/howto/unicode.rst +++ b/Doc/howto/unicode.rst
@@ -262,8 +262,8 @@ ... 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'