Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Chinese corrupts CDATA section in MSXML4.0 using VC++ 6.0

From: "Julian F. Reschke" <julian.reschke@-----------------.-->
To: NULL
Date: 4/3/2005 8:26:00 PM
Ed Swiss wrote:
 > ...
> Julian,
> 
> Thanks for responding.  
> 
> We are using CDATA sections on some of the data we store because experience 
> has shown us that some of our customers input strings with special 
> characters.  We are now using the same code to handle Chinese.  To not use 
> CDATA sections at this time would be a significant impact to our code, but it 
> might have to be done.  

I just wanted to point out that using CDATA when the XML isn't generated 
by hand usually is a waste of time. The set of characters that is 
allowed is exactly the same; it's just that the escaping rules change.

> As for the string being encoded in UTF-16, I have tested both UTF-8 and 
> UTF-16 and neither works.  However, I'm not completely comfortable with my 
> test, so I will double-check that to be absolutely sure.

Best regards, Julian


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