Tcl Source Code

Artifact [40757fb020]
Login

Artifact 40757fb020db0b4b27b7932d4c7a391c11efe5d0:

Ticket change [40757fb020] - Ticket [2998307fff] Can't display UTF when charset is not paseed bythe server status still Open with 6 other changes by anonymous 2014-01-03 14:59:06.
D 2014-01-03T14:59:06.246
J closer nobody
J comment $\stclsh\r\n%\spa\sre\shttp\r\n2.7.5\r\n%\snamespace\schildren\r\n::http\s::oo\s::tcl\r\n%\shttp::config\r\n-accept\s*/*\s-proxyfilter\shttp::ProxyRequired\s-proxyhost\s{}\s-proxyport\s{}\s-urlencoding\sutf-8\s-useragent\s{Tcl\shttp\sclient\spackage\s2.7.5}\r\n%\snamespace\schildren\r\n::http\s::oo\s::tcl\r\n%\sset\shttp::defaultCharset\sutf-8\r\nutf-8\r\n%\sset\stoken\s[http::geturl\shttp://bash.org.pl/rss]\r\n::http::1\r\n%\supvar\s0\s$token\sstate\r\n%\sset\sstate(charset)\r\nutf-8\r\n\r\nThis\surl\sis\sa\ssimple\sRSS\sfeed\susing\sthe\sutf-8\scharset,\sbut\snot\spassing\sit\sin\sthe\sContent-Type\sheader.\r\nIt\stells\sme\sthat\sit\sactually\sis\sUTF,\sbut\sit\sisn't.\sAfter\sthat\sI\stry\sto\sdisplay\sit\susing\shttp::data,\sbut\sit\sdispalys\sincorrectly\s-\sin\sthis\scase,\spolish\sUTF\schars\slook\slike\sthey're\sreaden\slike\sISO.
J icomment Still\sseems\sto\sapply\sin\sthe\scurrent\sversion\r\n\r\nMost\simportantly,\shttp\sseems\sto\scompletely\signore\s-binary\strue\sfor\scharset\smangling.\sI\salways\sget\smangled\sUTF-8\sout\sof\sTclHTTP,\swhile\sthe\ssame\sfile\sdownloads\scorrectly\susing\sTclCurl\sand\swget\sfrom\sthe\scommand\sline.\sPlease\sfix.
J login anonymous
J mimetype text/plain
J severity Minor
K 2998307fffffffffffffffffffffffffffffffff
U anonymous
Z 99e45420e90077a357f312d4fdc25c7a