Idle Python issue
jak
nospam at please.ty
Wed Feb 24 05:32:29 EST 2021
Hello everybody,
I encounter a problem using Idle Python in Windows when I use utf8
characters longer than 2 bytes such as the character representing the
smile emoticon:
:-)
that is this:
😊
Try to write this in Idle:
"😊".encode('utf8')
b'\xf0\x9f\x98\x8a'
now try to write this:
"".encode('utf8')
now position the cursor between the double quotes and paste the smile
character and try to add some text to the string (eg: 'the smile').
You may notice problems with editing.
Is there any way to prevent this from happening? It is an annoying problem.
Thanks for your attention.
cheers
More information about the Python-list
mailing list