php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19570 Not all cyrillic symbols present in HTML_ENTITIES table
Submitted: 2002-09-24 03:54 UTC Modified: 2002-09-24 05:10 UTC
From: apetrenko at tmsoft-ltd dot kiev dot ua Assigned:
Status: Closed Package: Gettext related
PHP Version: 4.2.3 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: apetrenko at tmsoft-ltd dot kiev dot ua
New email:
PHP Version: OS:

 

 [2002-09-24 03:54 UTC] apetrenko at tmsoft-ltd dot kiev dot ua
This is the code:

$tt = get_html_translation_table (HTML_ENTITIES);
while (list ($key, $value) = each ($tt))
	echo $key." -> ".htmlspecialchars ($value)."<br>";

The result:

 -> &nbsp;
? -> &iexcl;
? -> &cent;
? -> &pound;
? -> &curren;
? -> &yen;
? -> &brvbar;
? -> &sect;
? -> &uml;
? -> &copy;
? -> &ordf;
? -> &laquo;
? -> &not;
? -> &shy;
? -> &reg;
? -> &macr;
? -> &deg;
? -> &plusmn;
? -> &sup2;
? -> &sup3;
? -> &acute;
? -> &micro;
? -> &para;
? -> &middot;
? -> &cedil;
? -> &sup1;
? -> &ordm;
? -> &raquo;
? -> &frac14;
? -> &frac12;
? -> &frac34;
? -> &iquest;
? -> &Agrave;
? -> &Aacute;
? -> &Acirc;
? -> &Atilde;
? -> &Auml;
? -> &Aring;
? -> &AElig;
? -> &Ccedil;
? -> &Egrave;
? -> &Eacute;
? -> &Ecirc;
? -> &Euml;
? -> &Igrave;
? -> &Iacute;
? -> &Icirc;
? -> &Iuml;
? -> &ETH;
? -> &Ntilde;
? -> &Ograve;
? -> &Oacute;
? -> &Ocirc;
? -> &Otilde;
? -> &Ouml;
? -> &times;
? -> &Oslash;
? -> &Ugrave;
? -> &Uacute;
? -> &Ucirc;
? -> &Uuml;
? -> &Yacute;
? -> &THORN;
? -> &szlig;
? -> &agrave;
? -> &aacute;
? -> &acirc;
? -> &atilde;
? -> &auml;
? -> &aring;
? -> &aelig;
? -> &ccedil;
? -> &egrave;
? -> &eacute;
? -> &ecirc;
? -> &euml;
? -> &igrave;
? -> &iacute;
? -> &icirc;
? -> &iuml;
? -> &eth;
? -> &ntilde;
? -> &ograve;
? -> &oacute;
? -> &ocirc;
? -> &otilde;
? -> &ouml;
? -> &divide;
? -> &oslash;
? -> &ugrave;
? -> &uacute;
? -> &ucirc;
? -> &uuml;
? -> &yacute;
? -> &thorn;
& -> &amp;
" -> &quot;
< -> &lt;
> -> &gt;

The letter "?" is missed in resulting table (the last letter in russian alphabet, html translated string is &yuml;)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-24 05:10 UTC] wez@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 [2003-03-27 04:38 UTC] xk-liber at hotmail dot com
You can note that &apos; ( --> ' ) is not in this list too.
:-/
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Apr 04 03:01:24 2020 UTC