title: Parsing UTF8 encoded data from a Web Service
body: <p>I'm parsing the date from <a href="http://toutankharton.com/ws/localisations.php?l=75" rel="nofollow">http://toutankharton.com/ws/localisations.php?l=75</a></p>
  
  <p>As you can see, it's encoded (<code>&lt;name&gt;Paris 2ème&lt;/name&gt;</code>).</p>
  
  <p>My code is the following :</p>
  
  <pre><code>using (var reader = new StreamReader(stream, Encoding.UTF8))
              {
                  var contents = reader.ReadToEnd();
  
                  XElement cities = XElement.Parse(contents);
  
                      var t = from city in cities.Descendants("city")
                                                      select new City
                                                      {
                                                          Name = city.Element("name").Value,
                                                          Insee = city.Element("ci").Value,
                                                          Code = city.Element("code").Value,
                                                      };
              }
  </code></pre>
  
  <p>Isn't <code>new StreamReader(stream, Encoding.UTF8)</code> sufficient ?</p>