Skip to content
Tcl Source Code Artifact [c68be4d1b4]
Login

Artifact [c68be4d1b4]

Artifact c68be4d1b42a027f28c67a0a47902164c1a09749e0e33e899c4a6ff4c3b326a3:

Ticket change [c68be4d1b4] - Ticket [0d61d3a2bb905178|0d61d3a2bb] <i>Tcl interprets two adjacent surrogate code points as a character encoded using UTF-16</i> status still Open with 3 other changes by jan.nijtmans on 2021-10-31 11:13:15.
D 2021-10-31T11:13:15.856
J icomment >\sIs\sthere\sa\splan\sto\sfix\sthis?\r\n\r\nIn\sTcl\s8.7,\sdue\sto\sthe\sdual-value\simplementation\sof\sstrings\s(UTF-8\sand\sUTF-16),\sthis\scannot\sbe\sfixed:\sit\scannot\sbe\sprevented\sthat\sthe\sinternal\sUTF-16\simplementation\sleaks\sthrough\sat\sscript\slevel.\sIn\sTcl\s9.0,\sthere's\sstill\sroom\sfor\schanging\sthis,\ssince\sthe\sinternal\simplementation\schanged\sfrom\sUTF-16\sto\sUTF-32.\sSo,\sfeel\sfree\sto\sstart\sa\snew\sbranch\sbased\son\s9.0\s(and\s-\smaybe\s-\sa\snew\sTIP):\sthis\sway\sit\swill\sbecome\smore\sclear\swhat\sthe\simplications\sof\sthose\schanges\sare.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 0d61d3a2bb905178694d6cde8147039974600274
U jan.nijtmans
Z 8f58a572859f23a481d1fa3ab44e3b94