title: C# - Linq.to.XML special symbols crashing application
body: <p>I'm using XML database which contains names. Unfortunately I'm living in Czech Republic and there are lot of czech letters in czech names. These letters are ě š č ř ž ý á í é ú ů. Application crashes during parsing data everytime when database contains one of these letters.</p>
  
  <p>Debugger shows error:"Invalid character in given encoding. Line 4. Position 15".</p>
  
  <p>My XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Players&gt;
   &lt;Player&gt;
    &lt;Name&gt;Karel Čubera&lt;/Name&gt;
   &lt;/Player&gt;
   &lt;Player&gt;
    &lt;Name&gt;Jiri Vontubas&lt;/Name&gt;
   &lt;/Player&gt;
   &lt;Player&gt;
    &lt;Name&gt;Jan Vernovsky&lt;/Name&gt;
   &lt;/Player&gt;
  &lt;/Players&gt;
  </code></pre>
  
  <p>My App:</p>
  
  <pre><code>    static void Main(string[] args)
      {
          XDocument xmlDoc = XDocument.Load("C://Database.xml");
          var XMLdata = from singlePlayer in xmlDoc.Descendants("Player")
                        select new
                        {
                            Name = singlePlayer.Element("Name").Value,
                        };
  
          foreach (var singlePlayer in XMLdata)
          {
              Console.WriteLine("Player name: " + singlePlayer.Name);
              Console.WriteLine();
          }            
          Console.Read();
      }
  </code></pre>
  
  <p>Is Linq to XML even able to read these symbols ? I've encountered same problem in windows form application. I realy need these leters without them it just sucks. :) Thanks in advance</p>