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, ned.deily, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2013-09-05.12:25:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378383938.01.0.0676526067185.issue13153@psf.upfronthosting.co.za>
In-reply-to
Content
Previous patch has a regression, it breaks decoding NUL which Tcl encodes in "modified" UTF-8 as \xc0\x80. However this part of code already broken, because it handles only singular NUL and not a NUL embedded in larger string.

Here is a patch which also fixes decoding NULs from "modified" UTF-8.
History
Date User Action Args
2013-09-05 12:25:38serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ned.deily, ezio.melotti, roger.serwy, asvetlov, python-dev, JBernardo, Rosuav, Ramchandra Apte, William.Schwartz
2013-09-05 12:25:38serhiy.storchakasetmessageid: <1378383938.01.0.0676526067185.issue13153@psf.upfronthosting.co.za>
2013-09-05 12:25:37serhiy.storchakalinkissue13153 messages
2013-09-05 12:25:37serhiy.storchakacreate