title: StreamReader from MemoryStream UTF8 Encoding
body: <p>I want to open a XML file (from an zip archive) in a MemoryStream and create a StreamReader form this stream to put it into a GridView.</p>
  
  <p>I use this code :</p>
  
  <pre><code>MemoryStream ms = new MemoryStream();
  entry.Extract(ms);
  StreamReader reader = new StreamReader(ms);
  DataSet ds = new DataSet();
  ds.ReadXml(reader);
  dataGridView1.DataSource = GlobalDs.Tables[0];
  </code></pre>
  
  <p>If my XML files are encoded in ANSI, it works perfectly.
  But when I load files encoded in UTF8, it fail, even I initialize the <code>StreamReader</code> like that :</p>
  
  <pre><code>StreamReader reader = new StreamReader(ms, System.Text.Encoding.UTF8);
  </code></pre>
  
  <p>I hope someone will have an idea to solve my problem.</p>