#19570 [NEW]: Not all cyrillic symbols present in HTML_ENTITIES table
| From: | apetrenko at tmsoft-ltd dot kiev dot ua | Date: | Tue, 24 Sep 2002 08:54:11 +0000 |
| Subject: | #19570 [NEW]: Not all cyrillic symbols present in HTML_ENTITIES table | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20174@lists.php.net to get a copy of this message | ||
From: apetrenko@tmsoft-ltd.kiev.ua
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