summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-22 08:23:06 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-22 08:23:06 (GMT)
commitb1d0e5b11eac1ed5ae3d41bf952a3f68ad35f668 (patch)
treef2503b852d942dc73b63fc5b5379ea2b68fc7298 /Doc/howto
parent85710a40e7e9eab86060bedc3762ccf9ca8d26ca (diff)
downloadcpython-b1d0e5b11eac1ed5ae3d41bf952a3f68ad35f668.zip
cpython-b1d0e5b11eac1ed5ae3d41bf952a3f68ad35f668.tar.gz
cpython-b1d0e5b11eac1ed5ae3d41bf952a3f68ad35f668.tar.bz2
#15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`).
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/unicode.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst
index bcd29be..ea83d29 100644
--- a/Doc/howto/unicode.rst
+++ b/Doc/howto/unicode.rst
@@ -262,8 +262,8 @@ Unicode result). The following examples show the differences::
...
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0:
invalid start byte
- >>> b'\x80abc'.decode("utf-8", "replace")
- '�abc'
+ >>> b'\x80abc'.decode("utf-8", "replace") #doctest: +SKIP
+ '?abc'
>>> b'\x80abc'.decode("utf-8", "ignore")
'abc'