title: How to output unicode string to RTF (using C#)
body: <p>I'm trying to output unicode string into RTF format. (using c# and winforms)</p>
  
  <p><a href="https://en.wikipedia.org/wiki/Rich_Text_Format#Character_encoding" rel="noreferrer">From wikipedia</a>:</p>
  
  <blockquote>
    <p>If a Unicode escape is required, the control word \u is used, followed by a 16-bit signed decimal integer giving the Unicode codepoint number. For the benefit of programs without Unicode support, this must be followed by the nearest representation of this character in the specified code page. For example, \u1576? would give the Arabic letter beh, specifying that older programs which do not have Unicode support should render it as a question mark instead.</p>
  </blockquote>
  
  <p>I don't know how to convert Unicode character into Unicode codepoint ("\u1576"). 
  Conversion to UTF 8, UTF 16 and similar is easy, but I don't know how to convert to codepoint. </p>
  
  <p>Scenario in which I use this:</p>
  
  <ul>
  <li>I read existing RTF file into string (I'm reading template)</li>
  <li>string.replace #TOKEN# with MyUnicodeString (template is populate with data)</li>
  <li>write result into another RTF file.</li>
  </ul>
  
  <p>Problem, arise when Unicode characters arrived</p>