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 mark
Recipients amaury.forgeotdarc, christian.heimes, ezio.melotti, mark, pitrou, tzot, v+python, vstinner
Date 2009-10-26.09:07:27
SpamBayes Score 2.6343758e-07
Marked as misclassified No
Message-id <1256548049.57.0.822849999456.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
Glenn Linderman's fix pretty well works for me on XP Home. I can print
every Unicode character up to and including U+D7FF (although most just
come out as rectangles, at least I don't get encoding errors).

It fails at U+D800 with message:

UnicodeEncodeError: 'utf-8' codec can't encode character '\ud800' in
position 17: surrogates not allowed

I also tried U+D801 and got the same error.

Nonetheless, this is *much* better than before.
History
Date User Action Args
2009-10-26 09:07:29marksetrecipients: + mark, tzot, amaury.forgeotdarc, pitrou, vstinner, christian.heimes, ezio.melotti, v+python
2009-10-26 09:07:29marksetmessageid: <1256548049.57.0.822849999456.issue1602@psf.upfronthosting.co.za>
2009-10-26 09:07:28marklinkissue1602 messages
2009-10-26 09:07:27markcreate