#19570 [Com]: Not all cyrillic symbols present in HTML_ENTITIES table
| From: | xk-liber at hotmail dot com | Date: | Thu, 27 Mar 2003 10:38:27 +0000 |
| Subject: | #19570 [Com]: Not all cyrillic symbols present in HTML_ENTITIES table | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36548@lists.php.net to get a copy of this message | ||
ID: 19570
Comment by: xk-liber at hotmail dot com
Reported By: apetrenko at tmsoft-ltd dot kiev dot ua
Status: Closed
Bug Type: Gettext related
Operating System: all
PHP Version: 4.2.3
New Comment:
You can note that ' ( --> ' ) is not in this list too.
:-/
Previous Comments:
------------------------------------------------------------------------
[2002-09-24 05:10:46] 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.
------------------------------------------------------------------------
[2002-09-24 03:54:10] 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:
->
¡ -> ¡
¢ -> ¢
£ -> £
¤ -> ¤
¥ -> ¥
¦ -> ¦
§ -> §
¨ -> ¨
© -> ©
ª -> ª
« -> «
¬ -> ¬
-> ­
® -> ®
¯ -> ¯
° -> °
± -> ±
² -> ²
³ -> ³
´ -> ´
µ -> µ
¶ -> ¶
· -> ·
¸ -> ¸
¹ -> ¹
º -> º
» -> »
¼ -> ¼
½ -> ½
¾ -> ¾
¿ -> ¿
À -> À
Á -> Á
 -> Â
à -> Ã
Ä -> Ä
Å -> Å
Æ -> Æ
Ç -> Ç
È -> È
É -> É
Ê -> Ê
Ë -> Ë
Ì -> Ì
Í -> Í
Î -> Î
Ï -> Ï
Ð -> Ð
Ñ -> Ñ
Ò -> Ò
Ó -> Ó
Ô -> Ô
Õ -> Õ
Ö -> Ö
× -> ×
Ø -> Ø
Ù -> Ù
Ú -> Ú
Û -> Û
Ü -> Ü
Ý -> Ý
Þ -> Þ
ß -> ß
à -> à
á -> á
â -> â
ã -> ã
ä -> ä
å -> å
æ -> æ
ç -> ç
è -> è
é -> é
ê -> ê
ë -> ë
ì -> ì
í -> í
î -> î
ï -> ï
ð -> ð
ñ -> ñ
ò -> ò
ó -> ó
ô -> ô
õ -> õ
ö -> ö
÷ -> ÷
ø -> ø
ù -> ù
ú -> ú
û -> û
ü -> ü
ý -> ý
þ -> þ
& -> &
" -> "
< -> <
> -> >
The letter "ÿ" is missed in resulting table (the last letter in russian
alphabet, html translated string is ÿ)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19570&edit=1