what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel

    what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document?

    what encoding does system.xml.xmld ocument.save(st ring path) use to save the
    xml document if there is no <?xml... in the front of the xml document?


  • Oliver Sturm

    #2
    Re: what encoding does system.xml.xmld ocument.save(st ring path) use to save the xml document if there is no &lt;?xml... in the front of the xml document?

    Hello Daniel,
    >what encoding does system.xml.xmld ocument.save(st ring path) use to save
    >the xml document if there is no <?xml... in the front of the xml document?
    I'm not an XML guru, but

    a) I believe when you construct an XMLDocument, you'll normally get that <?xml... tag automatically - I could be wrong, maybe it was something I always just did and I forgot.

    b) I'm pretty sure that UTF-8 will be used by default.


    Oliver Sturm
    --

    Comment

    Working...