The user contributed notes on php.net for str_replace has several
solutions...

On Tue, September 12, 2006 5:02 pm, Kevin Murphy wrote:
> 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
>
>
>


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to