<i>Channel encoding difference 8.6 <-> 9.0</i> status still Pending with 5 other changes
by
.
D 2022-09-12T09:59:04.430
J icomment Jan,\r\nthank\syou\sfor\sthe\saction,\sgreat\s!\r\n\r\nSome\scomments:\r\n\r\n<h1>Write\serror\sposition</h1>\r\n\r\nI\sam\snot\ssure,\swhich\sway\swould\sbe\sbest:\r\n\r\n\s\s\s*\s\s\swork\slike\sa\sfilter,\se.g.\sall\scharacters\sbut\sthe\serror\scharacters\sare\ssent\s(new\simplementation).\r\n\s\s\s*\s\s\sstop\son\serror\s(old\simplementation).\r\n\r\nExample:\r\n<verbatim>\r\nfconfigure\s$h\s-encoding\siso8859-1\r\nputs\s$h\s"A\\u2022B"\r\n</verbatim>\r\n\r\nWith\sthe\sfilter\simplementation,\s"AB"\sis\ssent,\sand\san\serror\sis\sthrown.\r\nWith\sthe\sstop\simplementation,\s"A"\sis\ssent,\sand\san\serrpr\sis\sthrown.\r\n\r\nIMHO,\sthe\serror\simplementation\swould\sbe\sbetter\son\sa\suser\slevel.\r\nIf\sthere\sis\san\serror,\sI\scan\sintrospect\swhat\shappened\sand\sreact\son\sthe\schannel,\slike\ssending\s"&h2022"\sand\sthen\sresuming,\se.g.\ssending\s"B".\r\nWith\sthe\sfilter\simplementation,\sit\sis\sto\slate\sto\sact.\sThe\s"B"\sis\salready\ssent.\r\n\r\nI\sthink,\sthe\sdifference\sis\ssmall\sand\snot\simportant.\r\nThe\sonly\spoint\sis\sto\sdocument\swell,\swhat\sis\shappenning.\r\n\r\nAnd\sI\sdon't\scare,\sonly\sget\s9.0\sout\sis\sthe\saim.\r\n\r\n<h1>UTF-8\sspecial</h1>\r\n\r\nOk,\sif\sUTF-8\sis\sspecial,\sthen\swe\swould\sneed\sspecial\stest\scases\sfor\sthat.\r\nSo,\sI\swill\sadd\stest\scases\sfor\sUTF-8\sand\sanother\smultibyte\slike\sshift-jis.\r\nI\shave\sto\sdig-in\sto\sfind\sone\swhich\smay\shave\sinvalid\ssequences.\r\n\r\nI\sfind\sit\squite\sfunny,\sthat\sthe\sISO8859-1\sfolks\sget\sa\swork-around/compatibility\slayer,\sbut\sall\sother\ssystem\sencodings\sdon't\sget\sthat.\r\nMy\ssystem\sencoding\sis\scp1250,\swhich\sis\ssimilar\sto\sISO8859-1.\sBut\sall\sscripts\sonly\suse\sASCII,\seven\scomments.\sThis\sis\squite\sa\schallenge\sand\squite\scritical.\r\nI\sremember,\swhen\swe\schanged\sthe\sencoding\sof\smsg\sfiles\sfrom\ssystem\sencoding\sto\sUTF-8\swith\sTCL8.6.\sIt\sfailed\sat\smany\splaces.\r\n\r\nI\spersonally\swould\sprefer\sto\sthrow\san\serror\sfor\ssource\sto\son\sinvalid\sutf-8.\r\nIf\speople\swant\sto\smigrate\sto\sTCL9\sand\sthe\scurrent\ssystem\sencoding\sis\s"shift-jis",\sthey\sget\sgarbage\sresult\sand\sno\serror\son\sthe\ssource\scommand,\sas\severything\sis\saccepted.\sI\swould\sprefer\sthe\serror\smessage.\r\n\r\n<h1>TIP633\sscope</h1>\r\n\r\nThe\sonly\sscope\sof\sTIP633\sis\sto\sget\sthe\sTCL\s8.6\sbehaviour\soptionally\salso\savailable\son\sTCL9.0.\sIf\sUTF-8\saccepts\sISO8859-1,\sthen\sthis\sis\sok\sand\snot\scovered\sby\sthe\sTIP.\s\r\n\r\nThank\syou\sfor\sall,\r\nHarald
J login oehhar
J mimetype text/x-fossil-wiki
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J username oehhar
K 6978c01b652ac87cfc7913f5e534825f15824768
U oehhar
Z a810c54857df67524aac1e8ea947b61d