Skip to content
Tcl Source Code Artifact [6f972059f1]
Login

Artifact [6f972059f1]

Artifact 6f972059f13da7ee418c915572ae4bf563ead16f8fcc03445dcfd8bbc499abd9:

Ticket change [6f972059f1] - Ticket [c574e50a3b30e76f|c574e50a3b] <i>CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4</i> status still Open with 3 other changes by dgp on 2020-04-20 19:59:26.
D 2020-04-20T19:59:26.938
J icomment Checkin\s\r\n\r\nhttps://core.tcl-lang.org/tcl/info/e2278643dc\r\n\r\nfirst\stried\sto\sdo\ssomething\sbetter,\sincluding\sa\sfirst\sstab\sat\ssome\suse\sof\r\nsurrogates,\sbut\sit\skept\sin\splace\sdecoding\sof\s5-\sand\s6-byte\ssequences\r\n(for\sTCL_UTF_MAX\s==\s6)\sand\sit\sgot\sdecoding\sof\s4-byte\ssequences\r\n(when\sTCL_UTF_MAX\s==\s4)\scompletely\swrong,\sdiscarding\sthe\shigh\sbits.\r\n\r\n%\spackage\spresent\sTcl\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\r\n8.6.5\r\n%\sformat\s%X\s[scan\s[encoding\sconvertfrom\sidentity\s\\xF0\\x9F\\x92\\xA9]\s%c]\r\nF4A9\r\n\r\n(Should\sbe\s1F4A9)\r\n\r\nThere\sare\shints\sthat\sthe\s8.6.5\srelease\swas\sstarting\sto\saim\sfor\r\n\r\nUTF_MAX=3:\s[A]\r\nUTF_MAX=4:\s[C]\r\nUTF_MAX=6:\s[B]\r\n\r\nbut\sit's\sbest\sto\sstill\sthink\sof\sthe\sunsupported\sconfigurations\sas\sunusable.
J login dgp
J mimetype text/plain
K c574e50a3b30e76f6c57bdcf27e043bcd030dbda
U dgp
Z 10db6a7e34de2997c05ead4f0a051cc9