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 Rhinorhino 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
Joined
Jul 7, 2003
Messages
154
Location
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
 
Solved! XmlDom already is UTF - 8 encoded.
 
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