Please help test astral char display in tkinter Text (especially *nix)

Terry Reedy tjreedy at udel.edu
Wed Nov 4 22:15:03 EST 2020


On 11/4/2020 7:47 AM, Menno Holscher wrote:
> Op 03-11-2020 om 04:04 schreef Terry Reedy:
>> Perhaps half of the assigned chars in the first plane are printed 
>> instead of being replaced with a narrow box. This includes emoticons 
>> as foreground color outlines on background color.  Maybe all of the 
>> second plane of extended CJK chars are printed.  The third plane is 
>> unassigned and prints as unassigned boxes (with an X).
>>
>> If you get errors, how many.  If you get a hang or crash, how far did 
>> the program get?
>>
> openSuse Linux 15.2 Leap, Python 3.6.10, tcl and tk 8.6.7
> 
> The program runs fine, but complains in the text scrollbox:
> 0x10000 character U+10000 is above the range (U+0000-U+FFFF) allowed by Tcl
> 
> until
> 
> 0x3ffe0 character U+3ffe0 is above the range (U+0000-U+FFFF) allowed by Tcl

Thank you.  I assume that this message replaces the line of 32, which 
tcl did not attempt to print.  Much better than crashing.

I should have specified that not printing is likely for any python older 
than about year.  I have no idea what would happen with current Python 
and tcl/tk older than the 8.6.8 provided with the Windows installer.

-- 
Terry Jan Reedy




More information about the Python-list mailing list