I use XML files all the time with accented characters. At the top of my XML file I have the following line
<?xml version="1.0" encoding="iso-8859-1"?> The accented characters will be handled correctly. -----Original Message----- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 25 November 2005 10:41 To: CF-Talk Subject: Accented Characters Is there a simple way to replace accented characters with their un-accented counterpart? For example some titles in our database may contain a 'รก' character and this works fine in the database and on the intranet, however it screws up XML files with invalid character errors so needs replacing with a simple 'a' in the XML. I could do this with a series of replace() actions but with 5 vowels, 3-4 different accents and two cases this would mean up to 40 replaces being performed and I can't help thinking there must be an easier way. -- Jay ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225233 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54