cvs: php4 /ext/standard html.c
| From: | Moriyoshi Koizumi | Date: | Thu, 08 May 2003 15:43:34 +0000 |
| Subject: | cvs: php4 /ext/standard html.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20793@lists.php.net to get a copy of this message | ||
moriyoshi Thu May 8 11:43:34 2003 EDT
Modified files:
/php4/ext/standard html.c
Log:
Added "€" support for htmlentities() and html_entity_decode()
Index: php4/ext/standard/html.c
diff -u php4/ext/standard/html.c:1.83 php4/ext/standard/html.c:1.84
--- php4/ext/standard/html.c:1.83 Thu May 8 11:39:24 2003
+++ php4/ext/standard/html.c Thu May 8 11:43:34 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: html.c,v 1.83 2003/05/08 15:39:24 moriyoshi Exp $ */
+/* $Id: html.c,v 1.84 2003/05/08 15:43:34 moriyoshi Exp $ */
/*
* HTML entity resources:
@@ -165,6 +165,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,
@@ -354,6 +358,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 },