title: Reading ° degree symbol from XML in Delphi 2010
body: <p>The following XML <em><strong>cannot</strong></em> be read from Delphi because it contains an invalid ° symbol:</p>
  
  <pre><code>V1:   &lt;Item Id="1" Description="90° Hinge"/&gt;
  </code></pre>
  
  <p>It seems that Delphi <em><strong>does not</strong></em> recognise the "standard" way of doing this in XML:</p>
  
  <pre><code>V2:   &lt;Item Id="1" Description="90&amp;deg; Hinge"/&gt;
  </code></pre>
  
  <p>Delphi <em><strong>does</strong></em> seem to handle this ok:</p>
  
  <pre><code>V3:   &lt;Item Id="1" Description="90&amp;#176; Hinge"/&gt;
  </code></pre>
  
  <p>Since I'm getting the data from a RESTful Web Service, I don't particularly have control of the XML packets coming across, I just need to be able to read them.</p>
  
  <p><strong>Questions</strong></p>
  
  <ol>
  <li>If V2 is the standard XML way of doing it, then why doesn't Delphi support this? Or is there a special way to handle this that I'm not aware of?</li>
  <li>Is the V1 XML badly formed to begin with? If so should I request that the RESTful interface be changed to export ° in V3 format.</li>
  </ol>
  
  <p>Using Delphi 2010. Any help would be appreciated.</p>