[issue21084] IDLE can't deal with characters above the range (U+0000-U+FFFF)

Serhiy Storchaka report at bugs.python.org
Sat Jul 12 13:20:02 CEST 2014


Serhiy Storchaka added the comment:

Yes, this is very similar to issue13153. Both these issues can have same solution or can have different solutions. This issue relates to more realistic situation and therefore is more important.

Here is simple and almost working solution for this issue. Unfortunately it works incorrectly when astral characters are encountered in raw string literals. More mature solution should parse sources and convert raw string literals containing astral characters to non-raw string literals. But this will not work with invalid Python files and non-Python files.

I afraid this issue has not perfect solution. The question is which imperfect solution and compromise we will decided enough acceptable.

----------
assignee:  -> serhiy.storchaka
components: +Tkinter, Unicode
keywords: +patch
nosy: +haypo
versions: +Python 2.7, Python 3.5 -Python 3.3
Added file: http://bugs.python.org/file35929/idle_fix_non_bmp.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21084>
_______________________________________


More information about the Python-bugs-list mailing list