.
D 2022-09-11T22:07:03.859
J icomment The\sbug\sshould\snow\sbe\sfixed\son\sboth\score-8-branch\s(only\svisible\swhen\scompiling\swith\s-DTCL_NO_DEPRECATED)\sand\strunk.\r\n\r\nStill,\ssomething\sneeds\sto\sbe\ssaid\sabout\sthe\sutf-8\sencoding.\sThe\sutf-8\sencoding\sis\sspecial\sin\sthat\sit\scan\salso\sread\siso8859-1\sand\scp1252\swithout\scomplaining\son\s'invalid\sutf-8'.\sFor\sdetails,\ssee\sTIP\s#587.\sSince\sin\sTcl\s9.0,\sthe\sdefault\sencoding\son\sWindows\schanged\sfrom\scp1252\sto\sutf-8,\sI'm\safraid\sthat\sthere\sare\smany\sTcl\sscripts\saround\sstill\sencoded\sin\seither\siso8859-1\sor\scp1252.\sIf\sTcl\swould\suse\s-strictencoding\s1\sby\sdefault\sin\s9.0,\sthose\sscripts\swill\sstop\sworking\sin\sTcl\s9,\sall\susers\swould\sbe\sforced\sto\sconvert\stheir\sscripts\sto\sproper\sutf-8\sbefore\sthey\scan\sdo\sanything.\sI'm\snot\sprepared\sto\stake\sthat\srisk.\sutf-8\sis\sstill\snot\ssufficiently\scommon\son\sWindows.\r\n\r\nHowever,\sTIP\s#633\scan\sintroduce\sa\s-strictencoding\soption,\swhich\sis\sonly\sfunctional\sfor\sutf-8\s(all\sother\sencodings\sare\sstrict\salready).\sSo,\speople\swho\swant\sto\sbe\sstrict\scan\senable\sit,\swithout\scausing\sa\sburden\sfor\sother\speople.\r\n\r\nAnyway,\ssince\sthis\sbug\sis\sfixed\snow,\sit's\sout-of-the-way\sfor\sTIP\s#633.\sAnd\sthank\syou\sfor\sproviding\sthe\stestcases\sand\syour\s'fix',\swhich\spointed\sme\sto\sthe\sright\sdirection.\r\n\r\nHope\sthis\shelps.\r\n\s\s\s\s\sJan\sNijtmans
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Pending
K 6978c01b652ac87cfc7913f5e534825f15824768
U jan.nijtmans
Z 5b3c5c3f47309354d192efe2e92e8e7c