Bug #15535 Updated: Un-HTML-Entities
| From: | wez@php.net | Date: | Wed, 17 Apr 2002 07:52:43 +0000 |
| Subject: | Bug #15535 Updated: Un-HTML-Entities | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5170@lists.php.net to get a copy of this message | ||
ID: 15535
Updated by: wez@php.net
Reported By: klonx@gmx.net
Status: Closed
Bug Type: Feature/Change Request
Operating System: Win2000
PHP Version: 4.1.1
New Comment:
html_entity_decode is in CVS HEAD.
Previous Comments:
------------------------------------------------------------------------
[2002-04-17 01:30:34] klonx@gmx.net
Thanx,
In the meantime i found it.
But i had to write my own function to
access the translation easier.
------------------------------------------------------------------------
[2002-04-17 01:15:03] cynic@php.net
Although... I don't see why there shouldn't be unhtmlentities() or
whatever.
------------------------------------------------------------------------
[2002-04-17 01:13:38] cynic@php.net
Go read the get_html_translation_table() manual page.
------------------------------------------------------------------------
[2002-04-17 01:08:04] klonx@gmx.net
Sorry i didn't know where to post first,
My Comment is ^above^ !
------------------------------------------------------------------------
[2002-04-17 01:02:06] klonx@gmx.net
I didn't get what i want with Derick's idea.
My original String was: Schlenger & Meilhamer
and after the procedure with:
$trans = get_html_translation_table(HTML_ENTITIES);
$str = "Schlenger & Meilhamer";
echo strtr($str, $trans);
This is what i get: Schlenger & Meilhamer
what i wanted to get: Schlenger & Meilhamer
So, This does not work like i want it to.
Regards,
Maximilian
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15535
--
Edit this bug report at http://bugs.php.net/?id=15535&edit=1