Hi Robert,
I haven't tried it, but I suspect you could add code to WebHandler, _CleanIncoming method. Before the parent call.
This method is called when incoming form fields are parsed from the request and placed in the Value queue. It's usually used to check for unwanted HTML in the incoming value, but you can replace other things there as well if you like.
cheers
Bruce