title: Delphi, IXMLDOMDocument2, Load fails due to invalid character
body: <p>Using Delphi 2009 and IXMLDOMDocument2</p>
  
  <p>I receive "An invalid character was found in text content" error when loading XML into IXMLDOMDocument2. The character is 1B (in Hex) and is present within a CDATA section. Microsoft's XML viewer (IE) loads the file just fine. The XML looks like...</p>
  
  <p><code>&lt;data&gt;&lt;child&gt;&lt;![CDATA[-- ]]&gt;&lt;/child&gt;&lt;/data&gt;</code></p>
  
  <p>NOTE: I try to paste the XML, but the special character is removed. In the CDATA section there is the 1B character following "-- " in my XML file.</p>
  
  <p>I've tried adding  to the start of the XML and other encodings and nothing is working for me. Is there anything that can be done to load this file?</p>
  
  <p>Thanks,
  Michael</p>