KB SU wrote:
> Hi,
>
> I have open url and read like following:
>
> $import urllib
> $txt = urllib.urlopen("http://www.terme-catez.si";).read()
> $txt
> If you see above, in junk of HTLM, there is text like 'Terme
> \xc4\x8cate\xc5\xbe' (original is 'Terme Čatež'). Now, I want to convert
> cod
Hi,
I have open url and read like following:
$import urllib
$txt = urllib.urlopen("http://www.terme-catez.si";).read()
$txt
Gives output like below:
other parts are skipped ---
r\n 2010\r\n http://www.terme-catez.si";
target="_blank">Terme
\xc4\x8cate\xc5\xbe\r\n Slovenija\r\