title: How do I encode diacritics for Twitter updates?
body: <p>I have my own Twitter API and I've received a couple emails about a problem when trying to post a status update with accent marks and other diacritics.  I would like to encode these so that the status update still has them.</p>
  
  <p>I know there are ways to remove the diacritic, but I would like to keep it.</p>
  
  <p>I read the <a href="http://apiwiki.twitter.com/Counting-Characters" rel="nofollow noreferrer">Twitter Counting Characters</a> page and noticed that they did talk about encoding the diacritic.  I would like to do this in C#.  I am just not sure how to do it.</p>
  
  <p>Here was the original bug report for the Twitter API <a href="http://code.google.com/p/twitter-api/issues/detail?id=433" rel="nofollow noreferrer">http://code.google.com/p/twitter-api/issues/detail?id=433</a></p>
  
  <p>I've tried using..</p>
  
  <pre><code> string oldStatus = "con eñe";
   string newStatus = oldStatus.Normalize(NormalizationForm.FormD);
  </code></pre>
  
  <p>I've tried using <code>FormC</code>, <code>FormKC</code>, and <code>FormKD</code>, and I either get the <code>401 - Unauthorized</code> error or a <code>Invalid Unicode value in one or more parameters</code> error.</p>
  
  <p>Any ideas?</p>