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:
->
� -> ¡
� -> ¢
� -> £
� -> ¤
� -> ¥
� -> ¦
� -> §
� -> ¨
� -> ©
� -> ª
� -> «
� -> ¬
� -> ­
� -> ®
� -> ¯
� -> °
� -> ±
� -> ²
� -> ³
� -> ´
� -> µ
� -> ¶
� -> ·
� -> ¸
� -> ¹
� -> º
� -> »
� -> ¼
� -> ½
� -> ¾
� -> ¿
� -> À
� -> Á
� -> Â
� -> Ã
� -> Ä
� -> Å
� -> Æ
� -> Ç
� -> È
� -> É
� -> Ê
� -> Ë
� -> Ì
� -> Í
� -> Î
� -> Ï
� -> Ð
� -> Ñ
� -> Ò
� -> Ó
� -> Ô
� -> Õ
� -> Ö
� -> ×
� -> Ø
� -> Ù
� -> Ú
� -> Û
� -> Ü
� -> Ý
� -> Þ
� -> ß
� -> à
� -> á
� -> â
� -> ã
� -> ä
� -> å
� -> æ
� -> ç
� -> è
� -> é
� -> ê
� -> ë
� -> ì
� -> í
� -> î
� -> ï
� -> ð
� -> ñ
� -> ò
� -> ó
� -> ô
� -> õ
� -> ö
� -> ÷
� -> ø
� -> ù
� -> ú
� -> û
� -> ü
� -> ý
� -> þ
& -> &
" -> "
< -> <
> -> >
The letter "�" is missed in resulting table (the last letter in russian
alphabet, html translated string is ÿ)
--
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