I have an atom feed on a wordpress blog here: http://blogs.legalview.info/auto-accidents/feed/atom
When I download the text of the file and display it on my site, I get strange charactes like the accented 'A' here:
Recent studies are showing that car accident -related fatalities have declined almost 10% since 2008. The reason for this
I am using the following code in my C# web application to download the feed:
WebClient client = new WebClient();
client.Headers.Add(@"Accept-Language: en-US,en
Accept-Charset: utf-8");
string xml_text = client.DownloadString(_atom_url);
And xml_text.Contains("Â")
returns true, but if I download the feed in my browser no such
 exists. I'm pretty sure this is a character set issue, but I can't figure out why. By examining client.ResponseHeaders
, I can see it is in fact downloading text in utf-8, and the response on my .Net site is UTF-8 as well, so I can't figure out why the weirdness appears