![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - 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 7:49:00 PM dblock@d... wrote:
> MSXML loads and saves characters < 32 with no transformation. Seems ok
No, that's a bug (that was fixed in current release, as far as I remember).
> with the RFC. But UNIX parsers, and IE, report that there's an invalid
RFC?
> character in the output.
>
> For example:
>
> set xml = WScript.CreateObject("MSXML.DOMDocument")
> xml.LoadXml "<Root><Name /></Root>"
> xml.SelectSingleNode("//Name").text = "å - " & Chr(16)
> WSCript.Echo xml.xml
> xml.Save "Output.xml"
>
> (verfied that output.xml is properly UTF-8 encoded, but the 0x12
> character (16) is not changed.
Not sure what you're expecting here...
> What am I missing here?
You can't have control characters other than CR, LF and TAB in XML 1.0
content. Don't try.
Best regards, Julian
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
