This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients amaury.forgeotdarc, barry, beazley, flox, lemburg, pitrou, vstinner
Date 2009-12-14.21:55:11
SpamBayes Score 3.5630863e-05
Marked as misclassified No
Message-id <1260827713.08.0.377529847041.issue4770@psf.upfronthosting.co.za>
In-reply-to
Content
The email interface ate part of the code snippet. Here's the complete
version:

>>> import base64
>>> base64.b64decode('äöü'.encode('raw-unicode-escape'))
b''
>>> base64.b64decode('äöü'.encode('ascii'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position
0-2: ordinal not in range(128)
History
Date User Action Args
2009-12-14 21:55:13lemburgsetrecipients: + lemburg, barry, beazley, amaury.forgeotdarc, pitrou, vstinner, flox
2009-12-14 21:55:13lemburgsetmessageid: <1260827713.08.0.377529847041.issue4770@psf.upfronthosting.co.za>
2009-12-14 21:55:11lemburglinkissue4770 messages
2009-12-14 21:55:11lemburgcreate