Re: special characters
| From: | Justin French | Date: | Sat, 10 Aug 2002 11:38:52 +0000 |
| Subject: | Re: special characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111939@lists.php.net to get a copy of this message | ||
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) (jebscarbrough@hotmail.com)
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!
>