On Aug 5, 10:57 am, Blair McKenzie <[email protected]> wrote: > I believe the WDDX encoding happens in dmWizard.cfc. I'm very surprised it > doesn't already handle unusual characters, WDDX is usually pretty good about > that. Is it possible ColdFusion or your database is not using the right > character set?
CFWDDX handles many bad characters but like XMLFormat() in CF its not perfect. > 2010/8/3 Marco van den Oever <[email protected]> > > When i search for the error "An invalid XML character (Unicode: 0x1c)" > > i see a lot of posts that suggested to clean the text before it is > > send to the xml parser, so how can we solve this? Cleaning prior to importing is your best bet. The problem is that your illegal character may well be invisible when pasted into a text window. You could try an HTML entity converter like: http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=833 Or alternatively strip anything that's higher ascii with something like: http://www.bennadel.com/blog/1155-Cleaning-High-Ascii-Values-For-Web-Safeness-In-ColdFusion.htm (which I think you mentioned earlier) Failing that you need to work out what that Unicode: 0x1c represents and nuke it from orbit -- its the only way to be sure :) -- geoff http://www.daemon.com.au/ -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
