From e911b391580bfabedb8f7cddf064ae4999ea3f16 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Thu, 8 May 2003 15:43:34 +0000 Subject: [PATCH] Added "€" support for htmlentities() and html_entity_decode() --- ext/standard/html.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/standard/html.c b/ext/standard/html.c index 4955abf7aa..e795f01881 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -165,6 +165,10 @@ static entity_table_t ent_uni_punct[] = { "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 @@ static const struct html_entity_map entity_map[] = { { 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 }, -- 2.50.1