<i>UTF-16 Unicode escapes should continue to work in version 9.0</i> status still Open with 3 other changes
by
.
D 2024-08-12T10:22:59.499
J icomment Right\sor\swrong,\seach\selement\sof\sa\sTcl\sstring\sin\sTcl\s9\sis\sa\sUnicode\s*code\spoint*,\snot\sa\sUnicode\scharacter.\sCorrespondingly,\sthe\sUnicode\sescape\ssequences\smap\sto\sindividual\scode\spoints.\sI\sdon't\sthink\sit\sadvisable\sto\sbreak\sthis\sconsistency.\r\n\r\nThe\s8.x-9.0\sissue\syou\sare\sfacing\sis\sreally\san\sresult\sof\s8.x\snot\sfully\ssupporting\snon-BMP\scharacters,\sthereby\srequiring\shacks.\sIn\sfact,\sI\sdon't\s*think*\s(not\sconfirmed)\sthe\ssnippets\syou\sgave\seven\swork\sin\s8.6\sversions\sprior\sto\s8.6.10\sor\sthereabouts.\sConsider\sthe\sfollowing\sfundamental\sinconsistency\sin\s8.6\snon-BMP\ssupport\srecently\sraised\son\sthe\schat:\r\n\r\n```\r\n%\sstring\slength\s"\\ud83d\\ude03"\r\n2\r\n%\sllength\s[split\s"\\ud83d\\ude03"\s""]\r\n1\r\n```\r\n\r\nMy\stake\sis\sthat\sapplications\sthat\sneed\snon-BMP\ssupport\smust\smove\sto\s9.0.\sOtherwise,\sniggling\sissues\slike\sthe\sabove\sinconsistency\swill\skeep\sarising.\sIf\sat\sall\sthat\sis\snot\spossible,\suse\sUTF-8\sand\sspecify\sthe\s`-encoding\sutf-8`\soption\sinstead\sof\sbeing\sdependent\son\slocales.
J login apnadkarni
J mimetype text/x-markdown
K d10d6ddf295864389294b966163a23a58b9a1e72
U apnadkarni
Z c4bd2fc61ede5d488f2663416c599ec9