[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] MXXMLWriter and encoding
I would like to have an XML file with UTF-8 encode: <?xml version="1.0" encoding="UTF-8"?> ... When I use MXXMLWriter, the file XML is <?xml version="1.0" encoding="UTF-16"?> Can I encode the file with UTF-8 format? Thanks, Flavio My code is like this but it doesn't work: .... IMXWriterPtr pXMLWriter; HRESULT hr = pXMLWriter.CreateInstance(__uuidof(MSXML2::MXXMLWriter)); ISAXContentHandlerPtr pContentHandler; pContentHandler=pXMLWriter; pXMLWriter->put_encoding( CComBSTR("UTF-8") ); ....
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|