Jump to content

Wrong Feed XML parsing


Rambalac

Recommended Posts

Posted

uTorrent does not properly handle header XML tag which should be basic thing to do for any non- school level parser.

For examle http://lostfilm.tv/rssdd.xml

<?xml version="1.0" encoding="windows-1251" ?>

<rss version="0.91">

<channel>

<title>LostFilm.TV</title>

<description>Свежачок от LostFilm.TV</description>

<link>http://lostfilm.tv/</link><lastBuildDate>Mon, 10 Oct 2011 11:50:43 +0000</lastBuildDate><language>ru</language>

<item>

<title>В Филадельфии всегда солнечно (It's Always Sunny in Philadelphia). Официантка выходит замуж (The Waitress Is Getting Married) [720p]. (S05E05)</title>

....

XML is 100% correct, but as result I get

 Ôèëàäåëüôèè âñåãäà ñîëíå÷íî (It's Always Sunny in Philadelphia). Îôèöèàíòêà âûõîäèò çàìóæ (The Waitress Is Getting Married) [720p]. (S05E05)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...