Re: Attempt at putting greedy htmlspecialchars on a diet
| From: | Gerard Samuel | Date: | Sun, 05 Oct 2003 01:01:46 +0000 |
| Subject: | Re: Attempt at putting greedy htmlspecialchars on a diet | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165065@lists.php.net to get a copy of this message | ||
- Edwin - wrote:
"Far east languages" are not necessarily in this form: "&#nnnnn;" So, running htmlspecialchars() on, say, Japanese characters would do NO harm since &, ", ', <, > are NOT Japanese characters ;) Or, am I missing something? :) Not exactly. When storing "far east languages" in a database for example, thats the format its stored as.&#xxxxx; Also, I've seen it in that form in the $_POST array from a form.