I'm forever having problems with that type of thing.  On my site club  
owners can enter their club details, venues etc and I feed it out via  
XML.  I have stuff like this in it:

        event = replace(myQuery.eventName[ctr], "<", "&lt;", "ALL");
        event = replace(event, "&", "&amp;", "ALL");
        event = replace(event, '"', "&quot;", "ALL");
        event = replace(event, '’', "'", "ALL");
        event = replace(event, '“', "'", "ALL");
        event = replace(event, '”', "'", "ALL");
        event = replace(event, '‘', "'", "ALL");
        event = replace(event, '–', "-", "ALL");

It's really annoying as I can never be 100% sure the feed will always  
be error free as I don't control what club owners put into their  
details.



On 3 Nov 2005, at 13:33, gabriel l smallman wrote:

> Yup, your right, it is, blast. Any ideas if something pre-built 
> (function)
> that might be of use here?
>
> Thanks
>
> gabe
>
> -----Original Message-----
> From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 03, 2005 8:26 AM
> To: CF-Talk
> Subject: Re: Xmlformat() ... well not formatting
>
> On Thursday 03 November 2005 13:23, gabriel l smallman wrote:
>> fields. The documentation tells me that xmlformat should replace this
>> value ASCII 241 with its escape. But no joy. Documentation shows that
>> it should
>
> Are you sure it isn't a unicode character ?
>
> -- 
>
> Tom Chiverton
> Advanced ColdFusion Programmer
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223007
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

Reply via email to