Re: Re: note 8396 added to get_html_translation_table
| From: | Jon Ribbens | Date: | Mon, 11 Sep 2000 13:53:59 +0000 |
| Subject: | Re: Re: note 8396 added to get_html_translation_table | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32913@lists.php.net to get a copy of this message | ||
André Langhorst <A.Langhorst@itbnet.de> wrote:
> not really, users can rely on this beeing working by default, if not
> it´s a bug and gets fixed (as in 4.0.3 if it was wrong in 4.0.2
> following your msg), so you shouldn´t encourage them not to use them as
> intended
I'm not encouraging anything. I was just pointing out that people should
be careful.
In an ideal world, the code would be changed, but I expect the developers
have better things to do.
> > No, it isn't. Look at the code. For both htmlspecialchars, and htmlentities,
> > the same function is used. This function uses the translation table only
> > for characters 160 and above, and has some other hard-coded translations
> > which are used regardless of what the table says.
>
> sure, where´s the problem? htmlentities implies htmlspecialchars...
You said that my comment was wrong for the case of htmlentities. It was not.