From:             [EMAIL PROTECTED]
Operating system: all
PHP version:      4.2.3
PHP Bug Type:     Gettext related
Bug description:  Not all cyrillic symbols present in HTML_ENTITIES table

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;)
-- 
Edit bug report at http://bugs.php.net/?id=19570&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19570&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19570&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19570&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19570&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19570&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19570&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19570&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19570&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19570&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19570&r=globals

Reply via email to