D 2023-01-18T10:22:14.457 J assignee jan.nijtmans J icomment Harald\swrote:\r\n>\sI\shave\sno\sway\sout\shere.\sBut\snow\sdefining,\sthat\s(the\sIMHO\stoxic\s"-strict")\sis\simplied\sin\s"-failindex"\smakes\severything\sworse\sand\snot\sbetter\r\n\r\nI\ssee\sa\sway\sout\shere:\swithout\s"-strict"\sthe\s"encoding\sconvertto\s-failindex\spos\sutf-8"\sshould\sonly\scheck\sfor\sinvalid\sbyte\ssequences,\snothing\smore.\sAdding\s"-strict",\sthen\sit\sshould\scheck\sfor\ssurrogates\stoo.\sThen\sthe\sexamples\sin\sthe\sTIP\s#607\swill\swork\sagain\sas\sdescribed\sin\sthe\sTIP,\sand\s-strict\swill\swork\sas\sexpected\sas\swell.\r\n\r\nIt's\sjust\sa\smatter\sof\simplementation\s.....\r\n\r\nFor\s"encoding\sconvertfrom",\susing\s-failindex\swithout\s-strict\smakes\sno\ssense. J login jan.nijtmans J mimetype text/x-fossil-wiki J resolution None J status Open K a31caff05780aabdd20a8468673340435862dbf9 U jan.nijtmans Z d9728c8df89d8f4f97b5eb8105f44a15