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 steven.daprano
Recipients shreyanavigyan, steven.daprano, terry.reedy
Date 2021-05-23.16:09:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621786180.86.0.859249296249.issue44217@roundup.psfhosted.org>
In-reply-to
Content
The smiley emoji 😀 is U+1F600 which is outside of the Unicode Basic Multilingual Plane (BMP). IDLE's underlying graphical toolkit, Tcl/Tk, has problems with Unicode characters outside of the BMP, so this may not be fixable by us.

If all you want is to print the emoji, the best way is one of these:

    print('\U0001F600')

    print('\N{GRINNING FACE}')


or use another editor or IDE. Python itself has no problems here, it is just the IDLE editor.

I'm not a Tcl/Tk expert, but it looks like they may be working towards fixing this:

https://core.tcl-lang.org/tips/doc/trunk/tip/542.md
History
Date User Action Args
2021-05-23 16:09:40steven.dapranosetrecipients: + steven.daprano, terry.reedy, shreyanavigyan
2021-05-23 16:09:40steven.dapranosetmessageid: <1621786180.86.0.859249296249.issue44217@roundup.psfhosted.org>
2021-05-23 16:09:40steven.dapranolinkissue44217 messages
2021-05-23 16:09:40steven.dapranocreate