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, serhiy.storchaka, taleinat, terry.reedy
Date 2019-10-03.09:10:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570093809.64.0.127343709998.issue13153@roundup.psfhosted.org>
In-reply-to
Content
From the point of view of Tk, the astral character "💻" looks like either two invisible characters "\ud83d\udcbb" or as four characters "ð\x9f\x92»" (two of them are invisible). Thus this breaks editing the physical line past the astral character. We cannot do anything with this.

It also breaks syntax highlighting up to 100 lines past the astral character. We can add a workaround for this, but I am not sure it is worth. The solution could be complex and slow down the common case. In any case it is a different issue.

File names with astral characters now are shown correctly in most cases. Astral characters are not shown in the title of the window, perhaps it is font depending.

Opening a file name with astral characters works in the command line, but it does not work via the file open dialog. This looks like a bug in Tk, we cannot workaround it (or at least the possible workaround would be ugly and partial).
History
Date User Action Args
2019-10-03 09:10:09serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, taleinat, ned.deily, ezio.melotti
2019-10-03 09:10:09serhiy.storchakasetmessageid: <1570093809.64.0.127343709998.issue13153@roundup.psfhosted.org>
2019-10-03 09:10:09serhiy.storchakalinkissue13153 messages
2019-10-03 09:10:09serhiy.storchakacreate