How to deal with encoding when downloading with HttpWebRequest

Even though this article dates from 2004, it’s always accurate on being able to read META HTTP-EQUIV part (for normal  content-type reading, we can use HttpWebResponse.CharacterSet Property).

BewareMETA HTTP-EQUIV reading involves a memory footprint penalty (Copy into a MemoryStream)

Downloading content from the web using different encodings – Feroze Daud’s WebLog – Site Home – MSDN Blogs.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s