Forum Moderators: phranque
RedirectMatch 301 ^/(.+\.htm). http://www.example.com/$1
See the . dot after the ".htm"? That means "any character at all after the "htm" extension. All you're doing is redirecting URLs with any extraneous stuff to the without-extra-stuff form. You don't even need to figure out whether they're reaching your server as %C2 or  or whatever it may be. ^/([^.]+\.htm).
I assume you've already checked to make sure the bad characters aren't coming from typos on your own site. redirect 301 \page