Author: georg.brandl Date: Fri Aug 31 08:46:05 2007 New Revision: 57818 Modified: python/branches/py3k/Doc/tutorial/introduction.rst Log: Fix unicode issue in tutorial.
Modified: python/branches/py3k/Doc/tutorial/introduction.rst ============================================================================== --- python/branches/py3k/Doc/tutorial/introduction.rst (original) +++ python/branches/py3k/Doc/tutorial/introduction.rst Fri Aug 31 08:46:05 2007 @@ -445,10 +445,8 @@ string objects provide an :func:`encode` method that takes one argument, the name of the encoding. Lowercase names for encodings are preferred. :: - >>> "äÃ\u0020Ã".encode('utf-8') - b'A*A A' - -.. % above example needs beefing up by a unicode dude + >>> "Äpfel".encode('utf-8') + b'\xc3\x84pfel' .. _tut-lists: _______________________________________________ Python-3000-checkins mailing list Python-3000-checkins@python.org http://mail.python.org/mailman/listinfo/python-3000-checkins