Character sets and XML data

If you store an XML document in a string column or variable, XML Services assumes that document to be in the server character set. If you store it in a Unicode column or variable, XML Services assumes it to be UTF-16. Any encoding clause in the XML document is ignored.