.
D 2011-08-23T06:59:42
J assignee nijtmans
J cmimetype text/plain
J comment The\sTclStringObjReverse\sfunction\s(in\stclStringObj.c)\sdoes\na\scomplicated\sjob:\sIf\sthe\sobject\scontains\sno\sunicode,\sthe\nreverse\sis\sdone\sin-place,\sbut\sotherwise\sa\sUnicode\sstring\nrepresentation\sis\sformed\sand\sthat\sis\sreversed\sin\sstead.\n\nMuch\ssimpler\sis:\sreverse\sthe\sindividual\sbytes\sfrom\sthe\nUTF-8\scharacters\sfirst\sin-place,\sand\sthen\sreverse\sthe\sbytes\nof\sthe\swhole\sstring.\sThe\sindividual\sbytes\sof\sthe\sUTF-8\nrepresentation\swill\sthen\sbe\scorrect\sagain,\sand\sthis\ncan\salways\sbe\sdone\sinline.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 44.\sUTF-8\sStrings
J title inline\sstring\sreverse
J type RFE
K 3396731fffffffffffffffffffffffffffffffff
U nijtmans
Z 40d18e8a9b0a0f0abafc6811ad981356