.
D 2022-12-26T20:31:11.425
J closer nobody
J icomment Overloading\s<code>-strict</code>\sfor\sthis\spurpose\sis\sincorrect,\sas\s<code>-strict</code>\sshould\sbe\sdedicated\sto\show\sto\shandle\sinvalid\sdata\sin\san\sencoding,\snot\son\schoosing\swhich\sdata\sto\sconsider\sinvalid.\s\sThis\sis\sa\sseparate\sconcern\sthat\sshould\sbe\shandled\sby\sseparate\soptions.\s\sBy\sdefault,\san\sencoder/decoder\sshould\sconform\sto\sthe\sspecification,\sand\soptions\scan\sbe\sprovided\sto\sdirect\sthe\sencoder/decoder\sto\sdeviate\sin\ssome\sway.\s\sIn\sthis\scase,\sa\ssuitable\soption\smight\sbe\s<code>-onlychars\s1</code>,\swith\sthe\sdefault\sbeing\s<code>-onlychars\s0</code>\sto\sconform\sto\sthe\sspecification.\s\sThere\scould\sbe\sadditional\soptions\ssuch\sas\s<code>-surrogates\s1</code>\s(default\sis\s<code>-surrogates\s0</code>)\sand\s<code>-nonchars\s0</code>\s(default\sis\s<code>-nonchars\s1</code>).\s\sThis\sis\smore\scomplicated,\sbut\soversimplification\scan\sbe\sa\sbad\sthing.\s\sThe\sUnicode\sspecification\sentails\sa\scertain\samount\sof\scomplexity,\sand\sthere\sis\sno\sway\saround\sthat.\s\sIn\sthe\scase\sof\sUnicode,\sthe\sproper\starget\sfor\sTcl\sis\sfidelity.
J login pooryorick
J mimetype text/x-fossil-wiki
J resolution Accepted
J status Open
K 084ab982fea4c32aaab57251eeea0d7c829893a0
U pooryorick
Z 4b2ab7b0b52b91607e75abb2459c1cab