<i>infinite loop in 'encoding convertfrom'</i> status still Open with 4 other changes
by
.
D 2002-07-23T10:12:06
J icomment \n\nFile\sAdded\s-\s27568:\s584603.tar.gz\n\nLogged\sIn:\sYES\s\nuser_id=75003\n\nAnd\sback\sin\sthe\sencoding\ssubsystem\s...\nWriteChars\suses\sTcl_UtfToExternal.\sIn\nthe\sok\scase\sI\sget\sresult\s0,\s1\schar\sread,\nconverted\sand\swritten.\sIn\sthe\sfailure\scase\nresult\sis\s-1,\s0\schars\sread,\sconverted,\nwritten\s=>\sinfniite\sloop.\n\nAnother\sdifference:\sIn\sthe\sok\scase\sthe\ssystem\nuses\sidentity\sto\swrite\sthe\sresult\sof\sthe\scommand,\ndefinitely\ssomething\sfrom\sthe\swrong\sinit.\sIn\nthe\sfailure\scase\sit\stries\sto\suse\siso-8859-1\n\nAh,\sthe\sresult\s-1\smeans\sthat\sthe\schars\sare\sthe\nbeginning\sof\sa\smultibyte\ssequence\swhich\scannot\nbe\sconverted\swithout\smore\scharacters.\n\nThis\scould\spoint\sback\sto\sthe\s[encoding\sconvertfrom],\ni.e.\sshould\sit\snot\shave\sgenerated\svalid\sutf-8\s?\sThe\nresult\sof\s[encoding\sconvertfrom\sidentity\s\\xe2]\swas\n\\xe2!\sInvalid\sutf-8.\n\nNote:\sWriteChars\sexpects\sthat\sit\sis\sgiven\sa\svalid\nand\scomplete\sUTF-8\ssequence.\sPartial\sUTF-8\sis\sAFAIK\nnot\sallowed.\sIIRC\sRolf\sAde\sfell\sinto\sthat\strap\stoo\none\stime\swhen\sworking\son\stDOM.\n\nAttaching\spatch\sfor\smy\strace\soutput\sand\srelevant\slogs.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 584603ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z b82a4cc468bd0984de71065c93f7d2b7