Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: How to configure MSXML2::IXMLDOMDocument to emit UTF8 entities instead of UTF16 characters and indent >Thread Next - Re: How to configure MSXML2::IXMLDOMDocument to emit UTF8 entities instead of UTF16 characters and indent Re: How to configure MSXML2::IXMLDOMDocument to emit UTF8 entities instead of UTF16 characters and indentTo: NULL Date: 12/30/2008 12:54:00 PM > I'm not sure I understand this. Without an encoding in the xml > declaration MSXML DOM will default to UTF-8. So it should be saving as > UTF-8 already. > > OTH if you are accessing the XML property that will be unicode since it > returns a COM BSTR. > Sorry -- my mistake for confusing ASCII and UTF-8. You are correct: it is presently being saved as UTF-8 and I don't like that. I want ASCII. When using XSLT, I can make it save everything in ASCII instead of UTF-8. When XSLT saves in ASCII instead of UTF8, it uses the entity notion with the ampersand to denote non-ASCII characters! How do I make the MSXML DOM generate ampersand entities instead of high nonASCII characters? Thanks, Siegfried | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
