<i>llength split is different from string length</i> status still Open with 3 other changes
by
.
D 2025-03-03T21:49:11.848
J icomment >\sSo\syou\sare\sproposing\sto\ssplit\sthe\s😊,\sor\s(worse)\sreverse\sthe\stwo\shalves\sagain?\r\n\r\nWell,\sin\s8.6\ssure...\sbecause\sit\sdoesn't\sfully\ssupport\schars\soutside\sof\sBMP,\syes\sit\swould\sbe\sbetter\sthan\sa\spotential\sfor\sinconsistent\sindices/llength/iterators\s(depending\son\stype\sof\sobject\sor\son\sthe\sfact\swhether\sit\sshimmer\sor\snot),\swhat\sopens\sa\spotential\sto\sBO,\ssegfaults,\svulnerabilities\setc.\r\nLet\salone\sthe\sexample\swith\sregexp\sshows\show\sthe\scommon\sstring\sconsistency\smay\ssuffer\sby\sshimmer\sof\sobject.\sThis\sis\smuch\s"worse"\sthan\stheoretical\ssplit\s(I\sdon't\sspeak\sabout\sregexp,\sbut\sabout\sthe\sprinciple).\r\n\r\n>\sThat's\sa\sNO\sfrom\sme.\sBut\syou\salready\sexpected\sthat.\r\n\r\nI'm\sopen\sfor\sanother\sproposal\sto\sfix\sit,\sbut\sas\salready\ssupposed\syou\sdon't\shave\sit,\sdo\syou?..\r\n\r\nBut\sfor\sinstance,\sif\sone\sbreaks\severything\sanyway,\sthen\swhy\sjust\snot\sset\sTCL_UTF_MAX\sto\s4\sand\sfix\sit\slike\sin\s9.0?\sI\sknow\sit\swould\snot\sbe\sbinary\scompat\sanymore,\sbut\sit\sis\snevertheless\sseveral\stimes\sbetter\sand\sprobably\smore\ssane\sthan\ssuch\sfundamentally\sbroken\sand\sserious\sviolation.\r\n\r\n>\sIn\s9.0,\sregexp\sbehaves\sas\sexpected.\r\n\r\nPlease\sdon't\suse\sarguments\slike\sthat\shere...\sI\sspeak\sexplicitly\sonly\sabout\s8.6(.11+),\swhich\sby\sthe\sway\sIIRC\shas\sbeen\schanged\sin\sincompatible\sway\swithout\sany\sTIP,\sin\sa\spatch-release.\sAnd\sI\salready\swrote\sthat\sit\sis\snot\sacceptable\sto\ssay\s"fixed"\sin\snewest\smajor\srelease,\sbecause\sthen\syou\sshould\ssurely\srevert\sit\sin\s8.6\sas\sfailed\sattempt.\r\n\r\n>\sI\scannot\s100%\ssatisfy\severy\sTcl\s8.6\suser\sany\smore.\r\n\r\nSorry\sJan,\sbut\sit\sis\salso\snot\san\sargument...\sPlease,\sdon't\scompare\sa\sfeature\s(no\smatter\show\ssought-after\sby\susers)\swith\sa\sbug,\sthat\sshall\sbe\sfixed\sASAP.\r\n\r\nAnd\sI'm\ssure\syou\sknown\sthat\sI'm\snot\sa\s"user"\sof\score-tcl\salready\sdozen\syears\s(I\shave\smy\sown\sfork)...\r\nBut\sI\sstill\scare\sabout\sit,\sbecause\sI'm\sa\sdeveloper\sof\sTcl\sas\swell\sas\salso\sa\sengineer\sand\ssecurity\sauditor,\sand\stherefore\sI\ssee\sthat\sthe\sthings\sare\sbasally\sbroken\snow...\r\n\r\nAnd\sI\shoped\sthat\smy\sexplanation\swould\sshow\sthat\shaving\semojis\sdoesn't\sjustify\sthe\spresenсe\sof\ssuch\smalevolent\sbug...\sAgain,\swith\sa\spotential\sto\sgrow\sfurther,\ssince\snobody\sreally\sknows\show\smany\scommands,\sand\sby\swhich\sconstellations,\sare\sreally\saffected.\sAnd\san\sestimation\sof\sthem\swould\sbe\sa\slot\sof\swork\s(but\sit\sis\sobvious\sto\severyone\sknowing\sC-side\sof\sTcls\ssource\scode).\sSeems\smy\shope\shas\sbeen\sin\svain.\sOK,\sthen\sI'd\slike\sto\swait\sfor\sother\sTCT\smembers\sopinion\sto\sthe\ssubject.
J login sebres
J mimetype text/x-markdown
K debd088e48998a758f2927b67c132341954428ea
U sebres
Z 2becea259100a81db0e676f58fb5f47e