<i>Tcl_AppendToObj docs confusing</i> status still Open with 4 other changes
by
.
D 2002-11-16T19:33:11
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\n[encoding\sconvertfrom\sidentity]\sdoesn't\sfill\sme\swith\sglee\sI\nmust\sadmit.\sIn\sfact,\sI'd\sbe\sever\sso\smuch\shappier\sif\sit\ndidn't\sexist.\n\nIMO,\swe\sshould\sdistinguish\sbetween\sthe\sway\sthat\scode-points\nare\sencoded\sas\sbytes,\sand\sthe\sway\sthat\scharacters\sare\smapped\nto\scode-points.\s\sIn\sparticular,\s[encoding]\sshould\sbe\sused\sto\nalter\sthe\smapping\sbetween\scharacters\sand\scode-points\s(e.g.\ncode-point\s00A4\sis\sthe\sinternational\scurrency\ssymbol\sin\nUNICODE\sbut\sis\sthe\seuro\ssymbol\sin\sISO\s8859-15).\sWhere\sI\sget\nworried\sis\swhen\swe\sstart\susing\sit\sto\smuck\saround\swith\sthe\nmapping\sto\sbytes;\sI'm\sof\sthe\sopinion\sthat\sthe\smapping\sof\ncode-points\sto\sbytes\sshould\sbe\s(in\sthe\sbytes-part\sof\sa\nTcl_Obj,\sand\sconsequently\sin\sTcl_AppendToObj)\sbased\son\sthat\nof\sUTF-8\s(people\scan\salso\suse\s(possibly\slossy)\ssingle-byte\nmappings\svia\sbyte\sarrays\sand\sdouble-byte\smappings\svia\sthe\nstring\sobject\stype.)\n\nSo\swhat\sdoes\sthis\sall\smean?\s\sWell,\sit\smeans\sthat\s[encoding\nconvertfrom\sidentity]\sMust\sDie.\s\sThere\sshould\snot\sbe\sany\sway\nto\sproduce\snon-UTF8\sbytes\scontent\s(using\sthe\sterm\sbroadly\sas\na\sway\sof\sencoding\scode-points\sas\sbytes,\sand\snot\sproviding\nthose\sCPs\swith\san\sinterpretation.)\n
J login dkf
J mimetype text/plain
J username dkf
K 624919ffffffffffffffffffffffffffffffffff
U dkf
Z b04747a0ff704cef6c5de4f5e2322f8d