<i>encoding command does not allow -strict to be used with -failindex</i> status still Open with 3 other changes
by
.
D 2023-01-18T12:31:16.234
J icomment There\sis\sno\sneed\sto\sprovide\san\soption\sto\sconfigure\sthe\sencoder/decoder\sto\r\nhandle\ssurrogate\scharacters\sin\ssome\sspecial\sway.\s\sThe\sUnicode\sspecification\sis\r\nclear\senough\son\stheir\suse,\sand\swhere\sthey\smay\sand\smay\snot\soccur.\s\sThere\shas\r\nnever\sbeen\san\sexample\sprovided\sin\sany\sTIP\sor\smessage\sof\swhen\s"-strict"\sin\sits\r\ncurrent\sincarnation\s("disallow\ssurrogate\scharacters\sin\sutf\sencoding\sforms")\r\nmight\sbe\sneeded,\sand\sthere\snever\swill\sbe.\s\sSurrogate\scharacters\sare\salready\r\ndisallowed\sin\sthose\sencoding\sforms\sby\sthe\sUnicode\sspecification.\s\sThe\r\nencoder/decoder\scan\sjust\sfollow\sthe\sspecification\son\sthis\scount.\r\n\r\n"-strict"\sis\sa\suseless\soption,\sand\s"-nocomplain"\swas\sintroduced\sto\sprovide\sthe\r\nfunctionality\sthat\sshould\shave\sbeen\sprovided\sby\s"-strict".\s\s"-nocomplain"\sis\r\nthe\swrong\sname\sfor\sthe\soption\sthat\scontrols\sraising\san\serror\son\san\sencoding\r\nerror,\sbecause\sthere\sare\stoo\smany\sways\snot\sto\scomplain.\s\sThere\sshould\sbe\sone\r\noption\sthat\sspecifically\ssays\s"raise\san\serror",\sand\sother\soptions\sthat\r\nconfigures\sthe\sencoder\snot\sto\scomplain\sin\sdifferent\suseful\sways.
J login pooryorick
J mimetype text/x-fossil-wiki
K a31caff05780aabdd20a8468673340435862dbf9
U pooryorick
Z 161a509c7d458242739d942c96e7e1be