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 roger.serwy
Recipients asvetlov, ezio.melotti, loewis, ned.deily, python-dev, roger.serwy, terry.reedy, vbr, vstinner
Date 2012-03-15.18:37:55
SpamBayes Score 6.16275e-06
Marked as misclassified No
Message-id <1331836676.6.0.659710404064.issue14200@psf.upfronthosting.co.za>
In-reply-to
Content
The Tkinter Text widget is the output for the IDLE shell and it has the limitation imposed by Tcl/Tk of not handling non-BMP unicode characters. 

Is the following reasonable: The IDLE shell console has a locale of "non-BMP utf8"?

If so, would it be reasonable to add a menu item to switch locales for the shell? This amounts to adding some extra code to OutputWindow's write() to raise encoding errors if the string contains unsupported characters, and possibly replacing characters to work around Tcl/Tk's non-BMP limitation.
History
Date User Action Args
2012-03-15 18:37:56roger.serwysetrecipients: + roger.serwy, loewis, terry.reedy, vstinner, vbr, ned.deily, ezio.melotti, asvetlov, python-dev
2012-03-15 18:37:56roger.serwysetmessageid: <1331836676.6.0.659710404064.issue14200@psf.upfronthosting.co.za>
2012-03-15 18:37:56roger.serwylinkissue14200 messages
2012-03-15 18:37:55roger.serwycreate