Hi,
I am using libxml2 and the xmlTextReader to parse the xml content below.
Libxml somehow interprets the content contained in the xml node and uses that information to encode the parsed content resulting in the insertion of the Â
character. Is there a way to stop the libxml2 from interpreting this i.e. charset=iso-8859-15?
XML to process :
==============
<SPAN style="FONT-STYLE: normal; FONT-FAMILY: Segoe UI; COLOR: #1a1a1a; FONT-SIZE: 10pt; FONT-WEIGHT: normal; TEXT-DECORATION: none"> meta
http-equiv="content-type" content="text/html; charset=iso-8859-15" /</SPAN>
Processed XML
=============
<span>Â meta http-equiv="content-type" content="text/html; charset=iso-8859-15" /</span>
Regards
Shane
|