Hi Mike,

replacing chr(25) with empty string does a trick???

cheers.
Terry

2008/7/4 Mike Kear <[EMAIL PROTECTED]>:
>
> I'm getting this error in a XML job i'm doing and I can't see where
> this illegal character is creeping in.  The offending text field is
> one called 'description',   - i know that becuase if i remove it from
> the XML I get valid XML.
>
> nicode 0x19 is caled End of Medium and is a control character.
>
> So i have used trim() on the data going into the element, and also
> XMLFormat().   I would have thought that XMLFormat() would have fixed
> it, but it hasn't.   I can't see where this cahracter is creeping in,
> becuase it's a control character.
>
> I've also tried setting the page encoding to UTF-8 to see if that
> makes any difference but it doesn't.
>
> I've googled for quite a while now, and there are lots of people who
> see this problem - it's on forums everywhere, but no one seems to give
> an answer that works.
>
> Has anyone here come across thi sproblem and solved it?  What did you do?
>
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to