<i>Tcl_AppendToObj docs confusing</i> status still Open with 4 other changes
by
.
D 2003-02-06T21:03:59
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nEh?\s\sI\sthink\sthere's\sconfusion\sabounding\shere.\s\sI\sthink\sthat\nall\sthe\shandling\sof\sthe\s'identity'\sencoding\sis\sstrange\sfrom\ntop\sto\sbottom,\sand\sthat\sit\sshould\sbe\sreplaced\swith\sother\nthings.\n\nThere\sshould\sbe\sa\sway\sto\sgo\sfrom\sUTF8strings\sto\sbytearrays\nsuch\sthat\sthe\ssingle\scharacter\sstring\s\\u0000\sgets\smapped\sto\na\stwo\sbyte\sbytearray\scontaining\s\\xc0\sand\s\\x80.\s\sThis\swould\nfit\squite\snicely\swith\sthe\s[binary]\scommand\sIMO.\n\nThere\sshould\salso\sbe\sa\sway\sto\sgo\sthe\sother\sdirection,\sthough\nas\sthis\swould\shave\sthe\sability\sto\sproduce\sstrings\sthat\sare\nnot\swell-formed\sUTF8,\sit\swould\shave\sto\sbe\sa\stesting-only\ncommand,\sand\shence\spart\sof\sthe\stcltest\sexecutable\sonly.\s\sBut\nwe\sknow\show\sto\sdo\sthat\s(and\sdo\sso\salready\sfor\stesting\sother\nfeatures\sof\sthe\score.)\n\nThat\swould\sbe\ssufficient\sfor\stesting\sall\soddities\sin\sthe\ncore\sthat\swe\scome\sacross,\sand\sit\swould\shave\sthe\sadvantage\sof\nmaking\sthe\sbytes\smember\sof\severy\sTcl_Obj\sbe\sdefined\sto\ncontain\sa\sUTF8\sstring\sat\sall\stimes\s(when\snot\sNULL\sand\syou're\nnot\stesting,\sof\scourse.)\s\sSuch\sassumptions,\swhich\sare\sreally\nalready\sthere\sanyway,\swould\smake\slife\seasier\sin\sother\splaces\n(as\soutlined\sin\sthis\sBug.)\n\nIOW,\sJeff\sI\sthink\syou've\smisunderstood.\s\s:^)\n
J login dkf
J mimetype text/plain
J username dkf
K 624919ffffffffffffffffffffffffffffffffff
U dkf
Z b9ea06b651c991a87ac2e39635d43fee