For some time now I've been needing to do various character replacements to get special characters into the correct format for various output. There are two problems... html and xml.
For HTML I need to deal with cut and paste from Word documents and need to convert things like smart quotes and (e.g., C to ©). For XML I need to covert the odd characters to the HEX code values. Thing is I've been writing these replace routines on the fly and they are getting annoying and cumbersome. Is there some CFC or some other standard routine out there I can use stripping out and converting characters to the correct equivalents? Thanks Robert Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316427 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4