From: Ezio Melotti Date: Sat, 22 Sep 2012 08:23:06 +0000 (+0300) Subject: #15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`). X-Git-Tag: v3.2.4rc1~507 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1d0e5b11eac1ed5ae3d41bf952a3f68ad35f668;p=thirdparty%2FPython%2Fcpython.git #15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`). --- diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst index bcd29be69887..ea83d29199ab 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'