Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UTF-8 encoding a xmlDom

Status
Not open for further replies.

SgtPeppa

Programmer
Jul 7, 2003
154
DE
Hey all, i am trying to save a XmlDocument UTF-8 encoded.

My XmlDecaration already says its UTF-8 encoded but still if I do this:

myXmlDom.save(path);

it saves it as whatever, but not as UTF-8.

So how can I encode that entire XmlDom?

Thanx in advance

Stephan
 
If you don't have a "encoding=" attribute at the top, XML will default to UTF-8.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top