![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: MSXML/UTF8 and special characters < 32 >Thread Next - Re: MSXML/UTF8 and special characters < 32 Re: MSXML/UTF8 and special characters < 32To: NULL Date: 8/1/2005 8:31:00 PM dblock wrote: > Thanks for your reply. > > I have a store that I don't control (MAPI) and generate XML in some > schema. It encounters special characters (eg. 0x12). My question is: > what should I do? > > a) Parse every single string and strip special characters? Yes. > b) Parse every single string and manually add CDATA whenever I see one > of special characters? That won't help. The set of allowable characters inside CDATA is the same. > c) Something else? Depends on your requirements. If you have data that is binary in nature, you may want to base64-encode it. If it's textual data, there's really no compelling reason to have these control characters inside (what is the 0x12 supposed to mean?). Best regards, Julian | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
