Reputation: 145
I've been using HttpWebRequest/HttpWebResponse lately and I'm getting encoding problems. HttpWebResponse.CharacterSet doesn't always represent the real page encoding so I thought I could use the Content-Type meta tag.
Note that I do not require fancy methods like character set detection algorithms, just basic stuff like detection based on http header or meta tag elements.
Thanks in advance.
Upvotes: 1
Views: 3377