title: How to decode a utf string in c#
body: <p>I have been trying to decode the following string:</p>
  
  <pre><code>CrÃ©dit 
  </code></pre>
  
  <p>in c# using the following code:</p>
  
  <pre><code>    Encoding iso = Encoding.GetEncoding("ISO-8859-1");
      Encoding utf8 = Encoding.UTF8;
      string msg = iso.GetString(utf8.GetBytes(@"CrÃ©dit"));
  </code></pre>
  
  <p>which is yielding:</p>
  
  <pre><code>CrÃÂ©dit
  </code></pre>
  
  <p>I looked online  <a href="http://jeppesn.dk/utf-8.html" rel="nofollow">http://jeppesn.dk/utf-8.html</a> and this is in correct utf 8 and should yield:</p>
  
  <pre><code>Crédit
  </code></pre>
  
  <p>Can someone please point out where i am going wrong?</p>
  
  <p>Thanks</p>