A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-November/105749.html below:

[Python-Dev] [Python-checkins] r86530 - python/branches/py3k/Doc/howto/unicode.rst

[Python-Dev] [Python-checkins] r86530 - python/branches/py3k/Doc/howto/unicode.rstEzio Melotti ezio.melotti at gmail.com
Fri Nov 19 23:05:51 CET 2010
Hi,

On 19/11/2010 18.10, alexander.belopolsky wrote:
> Author: alexander.belopolsky
> Date: Fri Nov 19 17:09:58 2010
> New Revision: 86530
>
> Log:
> Issue #4153: Updated Unicode HOWTO.
>
> Modified:
>     python/branches/py3k/Doc/howto/unicode.rst
>
> Modified: python/branches/py3k/Doc/howto/unicode.rst
> ==============================================================================
> --- python/branches/py3k/Doc/howto/unicode.rst	(original)
> +++ python/branches/py3k/Doc/howto/unicode.rst	Fri Nov 19 17:09:58 2010
>
>
> [...]
>
>
> -Python 2.x's Unicode Support
> -============================
> +Python's Unicode Support
> +========================
>
>   Now that you've learned the rudiments of Unicode, we can look at Python's
>   Unicode features.
> @@ -265,7 +263,7 @@
>       UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 0:
>                           unexpected code byte
>       >>>  b'\x80abc'.decode("utf-8", "replace")
> -    '\ufffdabc'
> +    '�abc'

Apparently 'make latex' and 'make all-pdf' don't like this char.

>       >>>  b'\x80abc'.decode("utf-8", "ignore")
>       'abc'
>
>   [...]

Best Regards,
Ezio Melotti
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4