I'm having a similar problem with quotes in a form. I have a mutli-page little app and if the person puts a word in the first page's text field with a tick, it carries over to the second page just fine. However, going back to the first page, with the previous button I have built, strips the quote and truncates the string so everything after the quote is gone.
I've tried stripslashes and htmlspecialchars, and many combinations of both, and am still having problems. 🙁