>> I wonder if anyone here can comment on the use of special
>> characters (such as the umlaut) in xml documents... I for
>> some reason can't get them to work... even using
>> xmlformat()
>> or <![CDATA[ firefox mangles the character and IE tells
>> me
>> the xml is broken. I thought ISO-latin characters were
>> fine
>> in an xml packet as long as they weren't any of the 5
>> characters escaped by xmlformat() was I wrong? ...

> You can use Unicode characters in an XML document. You
> can't use ISO
> characters unless they also happen to be Unicode
> characters. The XMLFormat
> function doesn't have anything to do with this, I don't
> think. You shouldn't
> need to use CDATA for that, either. If you manually write
> an XML document,
> and you're not using a Unicode-aware editor, you can use
> the appropriate
> Unicode character entity reference, I think.

Thanks for the info Dave! :)

I did a search for ColdFusion and Unicode and came up with a document
Matt Robertson published... turns out just adding the character set to
a cfcontent tag seems to have fixed it.

The editor in this case is members' client browsers, so I can't always
be certain the user will enter unicode characters, but I'm hoping that
using setEncoding() will resolve this at least most of the time if not
all the time.

s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.turnkey.to/ontap
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to