title: Encoding text in RichTextBox from the WPF toolkit
body: <p>I'd like to write some text in a RichTextBox from the WPF toolkit with the degree (°) sign.</p>
  
  <p>I simply tried </p>
  
  <pre><code>Section section = new Section();
  Paragraph paragraph = new Paragraph();
  section.Blocks.Add(paragraph);
  string str = string.Format("Temperature : {0:0.00}°C", temp);
  text = new Run(str);
  paragraph.Inlines.Add(text);
  TemperatureText = System.Windows.Markup.XamlWriter.Save(section);
  </code></pre>
  
  <p>But the degree sign is replaced with a "?". I also tried to directly write the unicode <code>string.Format("Temperature : {0:0.00}\u00B0C", temp)</code> but it also failed.</p>
  
  <p>Do you have any idea ? Thanks !</p>
  
  <p><strong>[EDIT]</strong></p>
  
  <p>I'm using the XamlFormatter for the RichTextBox</p>