<i>Passing list w/UTF-8 from C can fail</i> status still Closed with 4 other changes
by
.
D 2003-08-28T06:39:06
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nLet\sme\sadvise\syou\stry\sagain\stomorrow.\nBy\sthen\sthe\sanonymous\sCVS\sat\sSF\nwill\shave\scaught\sup\sto\sall\smy\scommits.\n\nthe\soutput\syou\sdescribe\ssounds\ncorrect\sto\sme.\s\sBefore\syou\sfile\nanother\sbug\sreport,\sbe\s\ssure\syou\nunderstand\sthat\sTcl\suses\sUTF-8\nencoding\sinternally\sand\sby\sdefault\nconverts\sto\syour\ssystem\sencoding\non\soutput.\n\nThe\stwo\sbyte\ssequence\s\\302\\240\nis\sthe\sUTF-8\sencoding\sfor\sthe\scharacter\nknown\sin\sTcl-Unicode\snotation\sas\s\\u00a0\nwhich\sis\sthe\snon-breaking\sspace.\s\sWhen\nyou\swrite\sthat\scharacter\sto\soutput\son\na\ssystem\swith\ssystem\sencoding\sof\niso8859-1\sit\sgets\swritten\sas\sthe\ssingle\nbyte\s\\240\swhich\sis\sthe\ssame\scharacter\nin\sthat\sencoding.\s\sLikewise,\sif\syou\swere\nto\sread\sin\sthe\sbyte\s\\240\son\sthe\ssame\nsystem,\sTcl\swill\sconvert\sit\sback\sto\sUTF-8\nso\sby\sthe\stime\sTcl\ssees\sit\sagain,\sit\swill\nbe\sthe\s2-byte\ssequence\s\\302\\240\s.\n\nWhen\syou\swork\swith\san\sinteractive\stclsh,\nthe\sresults\syou\ssee\shave\sactually\sbeen\nwritten\sto\sstdout,\sand\sare\sin\sthe\ssystem\nencoding.\n\nIf\syou\sdon't\scompletely\sfollow\swhat\sI\sjust\nsaid,\sdo\snot\sfile\sanother\sbug\sreport\syet,\nbut\slet's\sfind\sanother\schannel\sto\sstraighten\nout\sany\smisunderstandings\sabout\show\sTcl\nencodings\sare\ssupposed\sto\swork.\n
J login dgp
J mimetype text/plain
J username dgp
K 411825ffffffffffffffffffffffffffffffffff
U dgp
Z 484e9f893e49a32432b74790395186a7