Skip to content
Tcl Source Code Artifact [f4b524aefa]
Login

Artifact [f4b524aefa]

Artifact f4b524aefafde545cc73e0b73fa791d62ad94d53:

Ticket change [f4b524aefa] - Ticket [3165071fffffffff|3165071fff] <i>http::geturl fails for at least 1 RSS feed</i> status still Open with 4 other changes by patthoyts on 2011-03-07 04:31:12.
D 2011-03-07T04:31:12
J icomment Your\sproblem\sis\sin\shandling\sthe\sencoding.\sYou\sshould\sprobably\sbe\ssetting\sthe\sfile\sto\sbinary\sotherwise\swe\sapply\sthe\schannel\sencoding\sto\sthe\sdata\sas\swe\swrite\sit\sto\sthe\sdisk\sfile.\sIn\sthis\scase\syou\slikely\slater\sexpect\sit\sto\sbe\sutf8.\n\nHowever,\swhen\swe\sretrieve\sthe\sresource\susing\sthe\shttp\spackage\swe\shandle\sthe\sencoding\sas\sdeclared\son\sthe\sremote\ssite.\sIn\sthis\scase\sthere\sis\sno\shttp\scontent-encoding\sheader\sand\sits\stype\sis\stext/xml\sso\swe\sare\streating\sthe\sinbound\sstream\sas\siso8859-1.\sThe\sfile\sinternally\sdeclares\sxml\sutf-8\sbut\swe\swill\snever\slook\sinside\sthe\sfile.\n\nI\ssuggest\syou\suse\s[open\s$file\swb]\sand\ssee\show\sthat\sworks.\n
J login patthoyts
J mimetype text/plain
J username patthoyts
K 3165071fffffffffffffffffffffffffffffffff
U patthoyts
Z d61abb474abfcc58307b07488e339286