[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode
Tal Einat
report at bugs.python.org
Wed Oct 2 16:04:04 EDT 2019
Tal Einat <taleinat at gmail.com> added the comment:
Not sure if this helps, but a bit of experimentation brought this up:
>>> '\N{PERSONAL COMPUTER}'.encode('utf-8')
b'\xf0\x9f\x92\xbb'
>>> 'ð»'.encode('utf-16le')
b'\xf0\x00\x9f\x00\x92\x00\xbb\x00'
>>> 'ð»'.encode('utf-16')
b'\xff\xfe\xf0\x00\x9f\x00\x92\x00\xbb\x00'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue13153>
_______________________________________
More information about the Python-bugs-list
mailing list