Is CDATA no help to you?

-----Original Message-----
From: Ben Mueller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 3:21 PM
To: CF-Talk
Subject: Re: Text encoding


Thanks for the replies.

The short answer is that we've begun taking some content on our site (stored
mostly in a SQL Server) and outputting RSS feeds.  Some of the content is
entered by end-users, and so sometimes they paste in odd characters like ü
and so forth.  SQL, CFMX and most modern browsers seem fine with handling
those characters as they are.  However, XML is not nearly so friendly with
characters like that.

I realized after I wrote this post that the simplest thing to do in RSS is
to replace ü with u (and so on), but the issue still stands that I need some
function that can parse through a block of text, find the odd characters,
and at the very least, convert it to it's character code equivalent.  Unless
there's a better way of handling this for RSS in general.

Thanks again,
Ben Mueller


>Yes, a 'why' may uncover a better solution. Most people usually want to do
>this because they see odd characters when outputting data from their access
>database because they aren?t using the Unicode driver
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268138
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to