title: UtF-8 gives extra string in German character
body: <p>I have file name  testtäöüßÄÖÜ . I want to convert in UTF-8 using c#.</p>
  
  <pre><code>string test ="testtäöüß";
  var bytes = new List&lt;byte&gt;(test.Length);
          foreach (var c in test)
              bytes.Add((byte)c);
          var retValue = Encoding.UTF8.GetString(bytes.ToArray());
  </code></pre>
  
  <p>after running this code my output is : 'testt mit Umlaute äöü?x. where mit Umlaute is extra 
  text.</p>
  
  <p>Can anybody help me ?</p>
  
  <p>Thanks in advance.</p>