Skip to content
Tcl Source Code Artifact [0b2ea63cdd]
Login

Artifact [0b2ea63cdd]

Artifact 0b2ea63cddde31a87c0789b89bcf1502606fbe19:

Ticket change [0b2ea63cdd] - Ticket [3393714fffffffff|3393714fff] <i>overflow in toupper delta</i> status still Open with 4 other changes by nijtmans on 2011-08-18 18:40:41.
D 2011-08-18T18:40:41
J icomment Overflow\sproblem\sfixed\sin\sall\sopen\sbranches.\n\nHowever,\sthere\sare\s11\sunicode\scharacters\sin\sUnicode\s6.0\n(2\scapital\sand\s9\ssmall\sletters),\swhich\shave\sa\s2-byte\nUTF-8\srepresentation\sfor\sthe\soriginal\scharacter\sbut\na\s3-byte\srepresentation\sfor\sthe\sconverted\scharacter.\nCurrently\sthe\sTcl_UtfTo(Upper|Lower|Title)\shave\na\sprotection\sto\sprevent\sinflation\sof\sthe\sstring,\nwhich\sprevents\sthe\sconversion\sin\sthis\scase.\n\nHere\sare\sthe\saffected\sUnicode\scharacters:\n023A;LATIN\sCAPITAL\sLETTER\sA\sWITH\sSTROKE;Lu;0;L;;;;;N;;;;2C65;\n023E;LATIN\sCAPITAL\sLETTER\sT\sWITH\sDIAGONAL\sSTROKE;Lu;0;L;;;;;N;;;;2C66;\n023F;LATIN\sSMALL\sLETTER\sS\sWITH\sSWASH\sTAIL;Ll;0;L;;;;;N;;;2C7E;;2C7E\n0240;LATIN\sSMALL\sLETTER\sZ\sWITH\sSWASH\sTAIL;Ll;0;L;;;;;N;;;2C7F;;2C7F\n0250;LATIN\sSMALL\sLETTER\sTURNED\sA;Ll;0;L;;;;;N;;;2C6F;;2C6F\n0251;LATIN\sSMALL\sLETTER\sALPHA;Ll;0;L;;;;;N;LATIN\sSMALL\sLETTER\sSCRIPT\sA;;2C6D;;2C6D\n0252;LATIN\sSMALL\sLETTER\sTURNED\sALPHA;Ll;0;L;;;;;N;LATIN\sSMALL\sLETTER\sTURNED\sSCRIPT\sA;;2C70;;2C70\n0265;LATIN\sSMALL\sLETTER\sTURNED\sH;Ll;0;L;;;;;N;;;A78D;;A78D\n026B;LATIN\sSMALL\sLETTER\sL\sWITH\sMIDDLE\sTILDE;Ll;0;L;;;;;N;;;2C62;;2C62\n0271;LATIN\sSMALL\sLETTER\sM\sWITH\sHOOK;Ll;0;L;;;;;N;LATIN\sSMALL\sLETTER\sM\sHOOK;;2C6E;;2C6E\n027D;LATIN\sSMALL\sLETTER\sR\sWITH\sTAIL;Ll;0;L;;;;;N;LATIN\sSMALL\sLETTER\sR\sHOOK;;2C64;;2C64\n\nFor\sthe\sfirst\stwo\scapitals,\s[string\stolower]\swill\nresult\sin\sthe\soriginal\scharacters.\sFor\sthe\sother\ncharacters,\s[string\stoupper]\sand\s[string\stotitle]\ngive\sthe\swrong\sresult.\n\nTherefore\sthis\sissue\scannot\sbe\sclosed\syet.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3393714fffffffffffffffffffffffffffffffff
U nijtmans
Z ff6d536b573926b863850aecb53e196a