> I'm using the Microsoft XML Services (v4) parser with CF5 on
> Windows. I'm getting an error and this page....
>
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;q247708
>
> explains that the reason is because I have to convert my
> ColdFusion 5 string to UTF-16 before I can pass the string to
> the Microsoft XML parser. How the heck can I convert my
> string to UTF-16 in ColdFusion 5??? Is there an alternative
> way to do this? I'm one line of code away from being done
> with this hassle...

According to the URL you posted:

"Scripting developers have two options available:

   1. Convert your XML documents to UTF-16-formatted Unicode, either
automatically or by hand.Escape all non-Unicode character encodings inside
the XML document using XML Unicode entity references. Any XML character can
be encoded in plain ASCII using the form &#xxxx, where xxxx is its index
into the Unicode character set.
   2. Escape all non-Unicode character encodings inside the XML document
using XML Unicode entity references. Any XML character can be encoded in
plain ASCII using the form &#xxxx, where xxxx is its index into the Unicode
character set."

Out of curiosity, have you identified the invalid characters?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to