PHP 4.0 Bug #6859: Need for a conversion table like HTMLENTITIES but with ASCII values.
| From: | Federico at Pomi dot net | Date: | Sat, 23 Sep 2000 01:37:29 +0000 |
| Subject: | PHP 4.0 Bug #6859: Need for a conversion table like HTMLENTITIES but with ASCII values. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33705@lists.php.net to get a copy of this message | ||
From: Federico@Pomi.net
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: Need for a conversion table like HTMLENTITIES but with ASCII values.
The htmlentities() function is a nice tool to convert "strange" letters to literal html
entities that every browser is able to understand.
The problem comes with WAP phones. With WML, you can't use most of the html entities: there are
just 7 or 8 entities, while all the others are missing.
The solution is to write the "strange letters" with their ASCII value.
Check the note I added to the manual:
http://www.php.net/manual/function.htmlentities.php
My feature request is: a builtin table for the conversion of "strange letters" to ASCII
value entities.