Hi, I have included the degree symbol in a xml file using ° and now i need to parse the contents in the xml file into a html file. After parsing the special character (°) is displayed as ° in html file. Vb code used for parsing: ------------------------- dim xmldom Set xmldom = CreateObject("Msxml2.DOMDocument.4.0") xmldom.load "C:\Tmp\sample.xml" If not xmldom is nothing then xmldom.save "C:\Tmp\sample.htm" msgbox "Html file written" End If Could any one help why the degree symbol is not get included in the html file correctly ?
G
Gokul P
@Gokul P
Posts
-
Problem in parsing xml to html -
Degree symbol ° in xmlHi, I have included the degree symbol in a xml file using ° and now i need to parse the contents in the xml file into a html file. After parsing the special character (°) is displayed as ° in html file. Vb code used for parsing: ------------------------- dim xmldom Set xmldom = CreateObject("Msxml2.DOMDocument.4.0") xmldom.load "C:\Tmp\sample.xml" If not xmldom is nothing then xmldom.save "C:\Tmp\sample.htm" msgbox "Html file written" End If sample.xml file ---------------- ° Could any one help why the degree symbol is not get included in the html file correctly ?