Message394206
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 |
|
Date |
User |
Action |
Args |
2021-05-23 16:09:40 | steven.daprano | set | recipients:
+ steven.daprano, terry.reedy, shreyanavigyan |
2021-05-23 16:09:40 | steven.daprano | set | messageid: <1621786180.86.0.859249296249.issue44217@roundup.psfhosted.org> |
2021-05-23 16:09:40 | steven.daprano | link | issue44217 messages |
2021-05-23 16:09:40 | steven.daprano | create | |
|