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
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