<i>Tcl 9: eof erroneously flagged with not reported encoding read error</i> status still Pending with 3 other changes
by
.
D 2023-02-21T17:00:24.094
J icomment Jan,\r\n\r\nI\shave\sbeen\spreoccupied\swith\sthe\sactual\sencoding\ssystem\sand\snot\sreally\slooked\sat\sthe\sI/O\simplementation.\r\n\r\nAt\sa\shigh\slevel,\sassuming\sI\sunderstood\syou\scorrectly\swrt\s`fconfigure\s-eof\sD`,\shere's\swhy\sI\sthink\syour\sanalogy\sdoes\snot\shold.\r\n\r\nWhen\san\sapplication\sdoes\sa\s`fconfigure\s-eof`,\sit's\sessentially\ssaying\sthat\sthe\slogical\scontent\sof\sthe\sfile\sfrom\sits\sperspective\sends\swhen\s`D`\sis\sencountered.\sSo\sa\s`read\s$chan`\sdoes\sin\sfact\sreturn\s"entire"\scontent\sas\sexpected\sfrom\sthe\sapplication's\sperspective.\r\n\r\nIn\sthe\sencoding\scase\s(with\sstrict\smode),\sthe\sapplication\sis\snot\schanging\swhat\sit\sviews\sas\sthe\scontent\sof\sthe\sfile.\sIt\sis\srather\ssaying\sthe\scontent\sis\sexpected\sto\sstrictly\sadhere\sto\sthe\sencoding.\sIf\sthe\s`read`\scompletes\ssuccessfully,\sthe\snatural\sexpectation\sis\sthat\sthe\sentire\sfile\scontents\swere\sencoded\scorrectly\sand\swere\sretrieved\sin\stheir\sentirety.\r\n\r\nThe\stwo\scases\sare\sthus\svery\sdifferent.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-markdown
K b8f575aa2398b0e44b5a037326b9d75037e2da4a
U apnadkarni
Z ae25dd3e114e3ef8882e12096648482c