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 serhiy.storchaka
Recipients ezio.melotti, ned.deily, ronaldoussoren, serhiy.storchaka, terry.reedy, vstinner
Date 2020-11-01.13:54:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604238845.87.0.150013982097.issue42225@roundup.psfhosted.org>
In-reply-to
Content
I generated a script for testing all characters:

with open('withtest.sh', 'w', errors='surrogatepass') as f:
    for i in range(0x100, 0x110000): print(f"echo 'label .l -text \"{chr(i)}\"; exit' | wish 2>/dev/null && echo OK '\\U{i:08x}' {chr(i)!r} || echo FAIL '\\U{i:08x}' {chr(i)!r}", file=f)

It takes a time. It tested around 20% of all characters for 6-7 hours. And it seems that all failed characters are colored emojies and all passed characters are non-colored. Seems it is related either to the font that provides colored emojies, or to the mechanism that interprets such fonts, or Tk just cannot correctly handle the output when such fonts are used (maybe reserve too small buffer or cannot interpret result code).
History
Date User Action Args
2020-11-01 13:54:05serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ronaldoussoren, vstinner, ned.deily, ezio.melotti
2020-11-01 13:54:05serhiy.storchakasetmessageid: <1604238845.87.0.150013982097.issue42225@roundup.psfhosted.org>
2020-11-01 13:54:05serhiy.storchakalinkissue42225 messages
2020-11-01 13:54:05serhiy.storchakacreate