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-14.21:56:37
SpamBayes Score 3.6105074e-08
Marked as misclassified No
Message-id <1331762197.92.0.687644931113.issue14200@psf.upfronthosting.co.za>
In-reply-to
Content
Andrew, please reopen this issue. Your committed patch does not work if IDLE is not using the subprocess.

    >>> got_ahsa = "\N{GOTHIC LETTER AHSA}"
    >>> got_ahsa
    Traceback (most recent call last):
      File "<pyshell#1>", line 1, in <module>
        got_ahsa
      File "idlelib/PyShell.py", line 1255, in write
        return self.shell.write(s, self.tags)
      File "idlelib/PyShell.py", line 1233, in write
        'Non-BMP character not supported in Tk')
UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 1-1: Non-BMP character not supported in Tk

However, it does work when IDLE uses a subprocess.
History
Date User Action Args
2012-03-14 21:56:38roger.serwysetrecipients: + roger.serwy, loewis, terry.reedy, vstinner, vbr, ned.deily, ezio.melotti, asvetlov, python-dev
2012-03-14 21:56:37roger.serwysetmessageid: <1331762197.92.0.687644931113.issue14200@psf.upfronthosting.co.za>
2012-03-14 21:56:37roger.serwylinkissue14200 messages
2012-03-14 21:56:37roger.serwycreate