title: Encoding trouble with HttpWebResponse
body: <p>Here is a snippet of the code :</p>
  <pre><code>HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(request.RawUrl);
  WebRequest.DefaultWebProxy = null;//Ensure that we will not loop by going again in the proxy
  HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse();
  string charSet = response.CharacterSet;
  Encoding encoding;
  if (String.IsNullOrEmpty(charSet))
  encoding = Encoding.Default;
  else
  encoding = Encoding.GetEncoding(charSet);
  
  StreamReader resStream = new StreamReader(response.GetResponseStream(), encoding);
  return resStream.ReadToEnd();
  </code></pre>
  <p>The problem is if I test with : <a href="http://www.google.fr" rel="noreferrer">http://www.google.fr</a></p>
  <p>All &quot;é&quot; are not displaying well. I have try to change ASCII to UTF8 and it still display wrong. I have tested the html file in a browser and the browser display the html text well so I am pretty sure the problem is in the method I use to download the html file.</p>
  <p>What should I change?</p>
  <p><em>removed dead ImageShack link</em></p>
  <h3>Update 1: Code and test file changed</h3>