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 JBernardo, Ramchandra Apte, Rosuav, William.Schwartz, asvetlov, ezio.melotti, loewis, ned.deily, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2014-01-05.11:31:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As far as the patch becomes too complicated, I propose minimalist patch which fixes only this issue. I.e. IDLE will no longer silently closed when paste some unusual text (non-BMP on Windows or illegal UTF-8 on Linux). It fixes converting Tcl string to Python string for arguments of Python callback. \xc0\x80 is translated to the NUL character (U+0000) because Tcl uses "modified" UTF-8. All other illegal UTF-8 codes are replaced by the replacement character (U+FFFD).
Date User Action Args
2014-01-05 11:31:30serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, ned.deily, ezio.melotti, roger.serwy, asvetlov, python-dev, JBernardo, Rosuav, Ramchandra Apte, William.Schwartz
2014-01-05 11:31:30serhiy.storchakasetmessageid: <>
2014-01-05 11:31:30serhiy.storchakalinkissue13153 messages
2014-01-05 11:31:30serhiy.storchakacreate