We use the built-in Filter window to allow users of our software to filter reports.
We have run into a problem where occasionally users somehow get curly quotes (like “this”) into filter expressions and then of course they don't work. One way that could happen is if users are typing a proposed filter in an email in Outlook, which generates those type of quotes by default, and then what they type is cut and pasted into the filter window. A user running our app on a Mac, running Windows under Parallels, also told us that her keyboard was doing that automatically right in the Filter window.
What I'd like to do is my own pre-validation of filter expressions, before PB gets to them, so that I could replace single or double curly quotes with proper straight quotes. But I'm pretty sure there's no way to do so.
Any suggestions? (No, I don't want to adopt a large framework that has a replacement for the filter window, though I would certainly accept a stand-alone look-alike replacement!)
Thanks.