Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - SAX Via MSXML3.DLL XML Character encoding [Thread Next] Re: SAX Via MSXML3.DLL XML Character encodingTo: NULL Date: 5/3/2006 5:55:00 PM "Peter Nimmo" <PeterNimmo@n...> wrote in message news:Xns97B8B4A896D4CPeterNnospamtnsofres@1...... > Hi, > > How can I force MXWriter MXXMLWriter30 to use UTF-8 encoding. I have > tried > setting the encoding property both before and after using the > ISAXContentHandler interface, and yet still the processing instruction > yields <?xml version="1.0" encoding="UTF-16" standalone="no"?> > > > Peter How are you outputting the XML at the final stage? Usually utf-16 means you're reading a string not serialising to a stream. -- Joe Fawcett (MVP - XML) https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
