This patch fixes a problem in the EscapeFromUtfProc
method, it needs to clear the TCL_ENCODING_END
flag after writing ending escape bytes so that
these bytes do not get written twice in the tricky
case where the end bytes overlap the end of an
IO buffer. Regression test included in the patch.
This patch was created from Tcl 8.5 CVS on 7/2/2006.
Escape 2 times patch
Logged In: YES
user_id=80530
Is this related to 1462248 ?
Logged In: YES
user_id=90858
I don't think this is related to 1462248, as that bug
deals with TCL_ENCODING_END when doing read operations
and this problem shows up only with a write operation.
Logged In: YES
user_id=75003
Originator: NO
Patch accepted and applied to Tcl 8.4 branch head. Nothing done for 8.5, I see that it was applied to the head on Dec 26, 2006.