Re: Attempt at putting greedy htmlspecialchars on a diet
| From: | - Edwin - | Date: | Thu, 02 Oct 2003 08:22:38 +0000 |
| Subject: | Re: Attempt at putting greedy htmlspecialchars on a diet | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164704@lists.php.net to get a copy of this message | ||
But,
On Wed, 01 Oct 2003 14:46:14 -0400
Gerard Samuel <gsam@trini0.org> wrote:
...[snip]...
> When I say that I don't know what characters Im expecting.
> Im not talking about normal html entities, like &   <
> Im talking about chinese/japanese/korean/taiwanese alphabet, numbers
>
> (even punctuation if applicable).
> Maybe Im thinking too hard, but trying to take far east languages
> alphanumeric charaters into account,
> seems like overkill.
> Feel free to correct me.
"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? :)
- E -
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/