<i>Passing list w/UTF-8 from C can fail</i> status still Closed with 4 other changes
by
.
D 2003-08-28T18:58:04
J icomment Logged\sIn:\sYES\s\nuser_id=21885\n\nDonal\s--\syes,\sI\ssee\syour\spoint\sand\snow\sI\sagree.\s\sThe\srule\sis\s\nthat\slist\selements\sending\sin\sa\slist\sdelimiter\sget\squoted,\sand\s\nsince\s\\302\\240\sis\snow\sno\slonger\sconsidered\sa\slist\sdelimiter,\sit\s\ndoesn't\scause\squoting\sto\shappen.\s\sThanks.\n\nDon\s--\sI\sunderstand\swhat's\ssupposed\sto\shappen\s(at\sleast,\sI\s\nthought\sI\sdid)\sbut\sthen,\sexplain\sthis:\n\n%\sencoding\ssystem\sidentity\n%\sfconfigure\sstdout\s-encoding\sbinary\s-translation\sbinary\n%\sTestCmd\nfoo \sbar\n%\sstring\slength\s[TestCmd]\n8\n%\sstring\sbytelength\s[TestCmd]\n9\n\nI\swould\shave\sexpected\sto\sget\s"foo\\302\\240\sbar"\sand\snot\s\njust\s"foo\\240\sbar".\s\sIt's\sclear\sfrom\sstring\sbytelength\sthat\sthe\s\n\\302\sis\sin\sthere,\sbut\swhen\sI\sset\sstdout\sencoding\sto\sbinary,\sit\s\nshould\sgive\sme\sthe\sraw\sUTF-8\s(9\sbytes)\sand\snot\sthe\s\ntranscoded\sISO-8859-1\srepresentation\s(8\sbytes),\sright?\n\nOr,\sam\sI\smisunderstanding\swhat\s"-encoding\sbinary"\smeans\sand\s\nwhat\s"encoding\ssystem\sidentity"\sdoes?\s\sI\smean,\sthis\sactually\s\ndoes\swhat\sI\sexpect:\n\n%\sfconfigure\sstdout\s-encoding\sidentity\n%\sTestCmd\nfoo \sbar\n\nNow\sit\soutput\s"foo\\302\\240\sbar"\s--\swhy\swill\sit\sdo\sthat\son\s"-\nencoding\sidentity"\sbut\snot\s"-encoding\sbinary"?\n\nPerhaps\swe\scan\stake\sthis\sdiscussion\sto\sthe\swiki\sor\semail\ssince\s\nit's\snot\sdirectly\srelated\sto\sthis\sparticular\sbug\s--\slet\sme\sknow\s\nwhat\sworks\sbest\sfor\syou.\n
J login dossy
J mimetype text/plain
J username dossy
K 411825ffffffffffffffffffffffffffffffffff
U dossy
Z 28177054841ada507a8abc1dffbfbf1a