Filter MS Word Garbage
| From: | Kevin Murphy | Date: | Tue, 12 Sep 2006 22:02:08 +0000 |
| Subject: | Filter MS Word Garbage | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-241681@lists.php.net to get a copy of this message | ||
I have a web form where trusted people will be inputing information that they usually copy/paste out of MS Word. While the people are trusted... MS Word isn't. I keep getting garbage characters in there, usually associated with Smart Quotes. If I take the content out of the DB, throw it into BBEdit and use the convert to ASCII command that solves the problem.
Is there some way I can filter/convert this information before it gets to the mysql database?
--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada Community College
www.wncc.edu
775-445-3326
--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada Community College
www.wncc.edu
775-445-3326