Skip to content
Tcl Source Code Artifact [96798d93d3]
Login

Artifact [96798d93d3]

Artifact 96798d93d3a0b2b75a401c6a25dd6f8a5c948ef0004cde55501256eecb511835:

Ticket change [96798d93d3] - Ticket [7f1162a8674cc65c|7f1162a867] <i>concatenation does not make usable surrogate pairs</i> status still Pending with 3 other changes by jan.nijtmans on 2021-04-14 08:30:30.
D 2021-04-14T08:30:30.184
J icomment Closing\sthe\sticket\snow,\ssince\sthe\slast\sbug\sin\sit\sis\sfound\sand\sfixed.\r\n\r\nOn\sthe\s"Tcl\sshould\srefuse"\s...\s\s\sIndeed,\sI\sthink\sthat\sTcl\sshould\srefuse\sinvalid\sbyte\ssequences.\sThere\sis\san\sexperimental\sbranch\sfor\sthat\s(encodings-with-flags),\scompiling\sthis\swith\s-DTCL_NO_DEPRECATED\s(intended\sfor\s9.0)\swill\sactivate\sthe\schange.\sI\sdon't\sthink\swe\scan\sintroduce\sthat\searlier\sthan\s9.0,\sit\sneeds\sa\sTIP.\sUpcoming\s(I\shope).\r\n\r\nCurrently,\sTcl\sdoesn't\srefuse\sany\sbyte\ssequence,\sit\sjust\stries\sto\scorrect\sit,\susing\sCP1252\s(or\sISO8859-1,\sfor\sTcl\s8.6)\sas\sfallback,\swhen\snecessary.\sSo\syour\squestin\s(to\swhich\stime\spoint\sexactly\sit\sbecomes\snot\svalid?)\smakes\sno\ssense:\sbyte\ssequences\sare\svalid\sor\sinvalid,\sas\sdocumented\sby\sWTF-8\s(or\sCESU-8\sfor\sTcl\s8.6).\sInvalid\sbyte\ssequences\scurrently\sare\shandled\sas\sif\sthey\sare\svalid,\sthat's\ssomething\swe\scannot\schange\sin\sTcl\s8.x.\sThe\sonly\sthink\swe\scan\simprove\sis\sthe\sfallback\shandling\sconforming\sto\sEIAS.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 7f1162a8674cc65c9b72169818badc3186f97678
U jan.nijtmans
Z ee3d8e727e6524ebff74c0c08f34e74c