cvs: php4(PHP_4_3) /ext/standard html.c
| From: | Moriyoshi Koizumi | Date: | Thu, 08 May 2003 15:44:32 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard html.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20794@lists.php.net to get a copy of this message | ||
moriyoshi Thu May 8 11:44:32 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard html.c
Log:
MFH(r-1.84): added "€" support for htmlentities() and html_entity_decode()
Index: php4/ext/standard/html.c
diff -u php4/ext/standard/html.c:1.63.2.14 php4/ext/standard/html.c:1.63.2.15
--- php4/ext/standard/html.c:1.63.2.14 Mon May 5 15:51:16 2003
+++ php4/ext/standard/html.c Thu May 8 11:44:32 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: html.c,v 1.63.2.14 2003/05/05 19:51:16 moriyoshi Exp $ */
+/* $Id: html.c,v 1.63.2.15 2003/05/08 15:44:32 moriyoshi Exp $ */
/*
* HTML entity resources:
@@ -163,6 +163,10 @@
"frasl"
};
+static entity_table_t ent_uni_euro[] = {
+ "euro"
+};
+
static entity_table_t ent_uni_8465_8501[] = {
/* 8465 */
"image", NULL, NULL, NULL, NULL, NULL, NULL,
@@ -352,6 +356,7 @@
{ cs_utf_8, 710, 732, ent_uni_spacing },
{ cs_utf_8, 913, 982, ent_uni_greek },
{ cs_utf_8, 8194, 8260, ent_uni_punct },
+ { cs_utf_8, 8364, 8364, ent_uni_euro },
{ cs_utf_8, 8465, 8501, ent_uni_8465_8501 },
{ cs_utf_8, 8592, 9002, ent_uni_8592_9002 },
{ cs_utf_8, 9674, 9674, ent_uni_9674 },