Author kbk
Recipients Bernt.Røskar.Brenna, BreamoreBoy, jsprunck, kbk, mgstrein, ned.deily, python-dev, r.david.murray, vstinner
Date 2011-05-11.21:48:13
SpamBayes Score 1.86512e-07
Marked as misclassified No
Message-id <1305150494.58.0.990910105318.issue1028@psf.upfronthosting.co.za>
In-reply-to
Content
Having a modified utf-8 codec will be useful.  That said, it is an error
for Tcl/Tk to expose modified utf-8 externally, and that was fixed at
some point in Tk8.5.  Since Tk is no longer sending 0xC080 for the %A
char, switching codecs in _tkinter.c won't accomplish anything.

This fix was to correct a long-standing problem in IDLE using Tk8.4,
which is most easily solved by catching the leaked invalid null in
_tkinter.c.

It seems to me that, once you switch to modified utf-8 and allow the
embedded nulls, you have to make sure everything you are doing uses
the modified utf-8 encoding/decoding.
History
Date User Action Args
2011-05-11 21:48:14kbksetrecipients: + kbk, vstinner, ned.deily, r.david.murray, Bernt.Røskar.Brenna, BreamoreBoy, jsprunck, mgstrein, python-dev
2011-05-11 21:48:14kbksetmessageid: <1305150494.58.0.990910105318.issue1028@psf.upfronthosting.co.za>
2011-05-11 21:48:14kbklinkissue1028 messages
2011-05-11 21:48:13kbkcreate