.
D 2023-11-17T16:15:42.575
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment ====\sio-52.20.1\sTclCopyChannel\s&\sread\sencoding\serror\s&\stell\sposition\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\s#\sbinary\sto\sencoding\s=>\sthe\sinput\shas\sto\sbe\r\n\s\s\s\s#\sin\sutf-8\sto\smake\ssense\sto\sthe\sencoder\r\n\r\n\s\s\s\sset\sin\s\s[open\s$path(utf8-fcopy.txt)\sr]\r\n\s\s\s\sset\sout\s[open\s$path(kyrillic.txt)\sw]\r\n\r\n\s\s\s\s#\sUsing\s"-encoding\sascii"\smeans\sreading\sthe\s"Á"\sgives\san\serror\r\n\s\s\s\sfconfigure\s$in\s\s-encoding\sascii\s-profile\sstrict\r\n\s\s\s\sfconfigure\s$out\s-encoding\skoi8-r\s-translation\slf\r\n\r\n\s\s\s\sset\sl\s{}\r\n\s\s\s\s\s\s\s\s#\sshould\sfail,\sso\s1\sis\sadded\r\n\s\s\s\slappend\sl\s[catch\s{fcopy\s$in\s$out}]\r\n\s\s\s\s\s\s\s\s#\sshould\sbe\sat\sposition\s1,\safter\sthe\sfirst\scorrect\sbyte,\sso\s1\sis\sread.\r\n\s\s\s\slappend\sl\s[tell\s$in]\r\n\s\s\s\s#\snot\ssure,\sif\sflush\srequired,\sbut\sanyway\r\n\s\s\s\sflush\s$out\r\n\s\s\s\s\s\s\s\s#\sshould\sbe\sat\sposition\s1,\safter\sthe\sfirst\scorrect\sbyte,\sso\s1\sis\swritten.\r\n\s\s\s\slappend\sl\s[tell\s$out]\r\n\r\n----\sResult\swas:\r\n1\s1\s0\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n1\s1\s1\r\n====\sio-52.20.1\sFAILED
J foundin trunk
J is_private 0
J login dgp
J priority 5\sMedium
J private_contact 8e2300e85be5dd1445b9666eb9429055951e33be
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 25.\sChannel\sSystem
J title io-52.20.1\stest\sfailure
J type Bug
K c2f368c2015a99420ae7beb47d72dfb7981b60ce
U dgp
Z 4154335d5d4376eb9793353b5032c384