0 Replies Latest reply on Jan 27, 2014 7:42 PM by pldenlinger

    Unexpected behavior in xmlparse, work-around found


      If you read an XML file from another site like this:



      <cfset myDoc=XMLParse("")>


      <cfdump var = "#myDoc#">



      the UTF-8 coding won't be handled correctly, and you will have unexpected characters when you display the XML data.



      If you read the XML file like this:




          url = ""

          charset = "UTF-8"

          result = "rawdoc">


      <cfset myDoc=XMLParse(#rawDoc.filecontent#)>


      <cfdump var = "#myDoc#">


      The data will display as expected.