title: Convert string to unicode representation
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1615559/converting-unicode-strings-to-escaped-ascii-string">Converting Unicode strings to escaped ascii string</a>  </p>
  </blockquote>
  
  
  
  <p>How can I convert <code>ä...</code> into something like  <code>\u0131...</code> ?</p>
  
  <p>is there any Function for doing this ?</p>
  
  <p>p.s : </p>
  
  <p>beside this way :  [ sorry @Kendall Frey :-)]</p>
  
  <pre><code>char a = 'ä';
  string escape = "\\u" + ((int)a).ToString("X").PadLeft(4, '0');
  </code></pre>