UTF-8 msxml
Hi There,
I´ve got a problem using msxml, I create a XML document and set the encoding to UTF-8 (using doc.createProcessingInstruction "xml", " version='1.0' encoding='UTF-8'").
If I save it, the file is correctly encoded into UTF-8 (using the method save), if I use the .xml method (returns a string with all the content of the document) to get a string, this is encoded with some kind of UTF-16 encoding, is it possible to get this method (or some other that return the XML encoded correctly in the form of a string), to return a UTF-8 string?
(I need to send this string to a C program in a system that only supports UTF-8)
Thanks a lot,
LuÃs Pinho
|