Re: Editing in a text area field
| From: | Ross McKay | Date: | Sun, 11 Jan 2009 23:40:04 +0000 |
| Subject: | Re: Editing in a text area field | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286058@lists.php.net to get a copy of this message | ||
On Sun, 11 Jan 2009 09:59:22 -0500, tedd.sperling wrote:
>I've tried stripping out all Gremlins, like so:
That looks like a great (slow) way to rip out characters that probably
ought to be there, like left and right single and double quotes, em and
en dashes, ellipses, copyright and trademark symbols, etc.
Isn't that causing a problem, rather than dealing with one?
If the problem is one of validation, then maybe you should investigate
character sets and the full abilities of htmlentities.
--
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutions" -Eric Sevareid