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