Skip to content
Tcl Source Code Artifact [bb59056368]
Login

Artifact [bb59056368]

Artifact bb59056368f6e5c2d4d59056c8b3b92d7f9d4f0e67d0d222ebf9cb8634584dd1:

Ticket change [bb59056368] - New ticket [25cdcb7e8fb381fb|25cdcb7e8f] <i>incomplete utf-8 sequence followed by eofchar results in failed assertion</i>. by pooryorick on 2023-04-18 19:24:11.
D 2023-04-18T19:24:11.647
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment The\sfollowing\sscript\scauses\sbuild\strunk\sto\sabort:\s\r\n\r\n<blockquote><code><verbatim>\r\nset\schan\s[file\stempfile];\r\nfconfigure\s$chan\s-encoding\sbinary\r\nputs\s-nonewline\s$chan\s\\x81\\x1A\r\nflush\s$chan\r\nseek\s$chan\s0\r\nchan\sconfigure\s$chan\s-encoding\sutf-8\s-profile\sstrict\r\nread\s$chan\s1\r\n</verbatim></code></blockquote>\r\n\r\nOutput:\r\n\r\n<blockquote><code><verbatim>\r\n/path/to/tcl9.0/generic/tclIO.c:6154:\sDoReadChars:\sAssertion\s`!GotFlag(statePtr,\sCHANNEL_EOF)\s||\sGotFlag(statePtr,\sCHANNEL_STICKY_EOF)\s||\sGotFlag(statePtr,\sCHANNEL_ENCODING_ERROR)\s||\sTcl_InputBuffered((Tcl_Channel)chanPtr)\s==\s0'\sfailed.\r\n</verbatim></code></blockquote>
J is_private 0
J login pooryorick
J priority 5\sMedium
J private_contact 2b2275eab1118e1fab0016cf1c5702893c6af86c
J resolution None
J severity Minor
J status Open
J submitter pooryorick
J subsystem -\sNew\sBuiltin\sCommands
J title incomplete\sutf-8\ssequence\sfollowed\sby\seofchar\sresults\sin\sfailed\sassertion
J type Bug
K 25cdcb7e8fb381fb981b5595cfc6dc48a7f1c83b
U pooryorick
Z 0a4e3c81c329839a92db95500f1e5f2b