Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to configure MSXML2::IXMLDOMDocument to emit UTF8 entities instead of UTF16 characters and indent

From: "Siegfried Heintze" <siegfried@-------.--->
To: 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




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent