Use an editor that lets you explicitly specify the encoding used to save
a valid XML file, then use that encoding to parse it. Thats all there is
to it!
Manos
amita rathore wrote:
I tried without specifying any encoding and in that
case even the single quotes are appearing as hash
symbol.
When I specify utf-8, the document is not parsed
fully, and if I manually edit and remove the double
quotes the file is parsed.
Also tried iso-8859-1 but didn't get expected results.
--- Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
wrote:
amita rathore wrote:
Hi All,
I have a xml with utf-8 encoding
[...]
While reading the xml file I am providing the
encoding
as windows-1252
I guess you need to use a proper encoding
consistently ;-)
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
|