Find task on service with single quote on search text

Discussion created by aipog on Sep 8, 2011
Hi everybody,
I have a problem with a find task in flex api and I've verified the same problem if I use the find task in the rest interface. I can understood that's a problem of rest interface.
If I have a single quote in the search text field the result is empty, if not I have the complete list. How can I escape the single quote in the search text?

I've tested the ' the %27 and other things like encodeURI but nothing works.

Thanks for any suggestion