Have a look at htmlspecialchars() as well.

If these don't meet your needs, you might have to start building your own
function to extend what htmlspecialchars() and htmlentities() do.

Justin French


on 10/08/02 4:58 AM, Jeb A. Scarbrough (home) ([EMAIL PROTECTED])
wrote:

> Is there a way to have PHP to either:
> 
> a)  strip out any non-standard ascii characters (like the TM or copyright
> symbol)
> 
> b) have PHP encode all these symbols.
> 
> I know about htmlentities, but it not catch everything.
> 
> Thanks!
> 


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

Reply via email to