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 wrohdewald
Recipients wrohdewald
Date 2014-10-27.18:48:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414435737.5.0.509535388247.issue22746@psf.upfronthosting.co.za>
In-reply-to
Content
The attached script shows the non-ascii characters wrong wherever they occur, including the exception message and the comment in the source code.

Looking at the produced .html, I can say that cgitb simply passes the single byte utf-8 codes without encoding them as needed.

Same happens with Python3.4 (after applying some quick and dirty changes to cgitb.py, see bug #22745).
History
Date User Action Args
2014-10-27 18:48:57wrohdewaldsetrecipients: + wrohdewald
2014-10-27 18:48:57wrohdewaldsetmessageid: <1414435737.5.0.509535388247.issue22746@psf.upfronthosting.co.za>
2014-10-27 18:48:57wrohdewaldlinkissue22746 messages
2014-10-27 18:48:57wrohdewaldcreate