php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6859 Need for a conversion table like HTMLENTITIES but with ASCII values.
Submitted: 2000-09-22 21:37 UTC Modified: 2002-01-28 20:17 UTC
From: Federico at Pomi dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
 [2000-09-22 21:37 UTC] Federico at Pomi dot net
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-28 20:17 UTC] yohgaki@php.net
You can do more complicated thing with
mbstring functions.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 21:01:30 2025 UTC