New submission from Alex <[email protected]>:

Python 3.8.2 IDLE has an unexpected behavior.
When I insert an emoji into IDLE like '😍'.
Then I found I can't delete it(by typing backspace).
When I type the left arrow then it became '��'(U+FFFD).
Then I type the left arrow again, then it is '😍' again!
(When I use the delete button, or type the right button there aren't any bugs.)
What's wrong?
Also, when I have two emojis like '🙏🙏', I press delete button between them, 
nothing happens; when I delete on the right, both of them disappear!
(This bug seems not appears on plain 0.)

----------
assignee: terry.reedy
components: IDLE
messages: 365247
nosy: Alex-Python-Programmer, terry.reedy
priority: normal
severity: normal
status: open
title: Unexpected behavior when handling emoji under codec cp936
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to