1 /****************************************************************************** 2 * $Id$ 3 * 4 * Project: MapServer 5 * Purpose: HTML entity to unicode lookup table 6 * Author: Thomas Bonfort 7 * 8 ****************************************************************************** 9 * Copyright (c) 1996-2005 Regents of the University of Minnesota. 10 * 11 * Permission is hereby granted, free of charge, to any person obtaining a 12 * copy of this software and associated documentation files (the "Software"), 13 * to deal in the Software without restriction, including without limitation 14 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 15 * and/or sell copies of the Software, and to permit persons to whom the 16 * Software is furnished to do so, subject to the following conditions: 17 * 18 * The above copyright notice and this permission notice shall be included in 19 * all copies of this Software or works derived from this Software. 20 * 21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 22 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 24 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 26 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 27 * DEALINGS IN THE SOFTWARE. 28 ****************************************************************************/ 29 30 /* 31 * Generated file 32 * 33 * This file was generated from: 34 * http://www.w3.org/TR/REC-html40/sgml/entities.html 35 * by means of the libgd script: 36 * entities.tcl 37 * and modified to avoid namespace collisions 38 */ 39 40 #ifdef __cplusplus 41 extern "C" { 42 #endif 43 44 static struct mapentities_s { 45 char *name; 46 int value; 47 } mapentities[] = { 48 {"AElig", 198}, 49 {"Aacute", 193}, 50 {"Acirc", 194}, 51 {"Agrave", 192}, 52 {"Alpha", 913}, 53 {"Aring", 197}, 54 {"Atilde", 195}, 55 {"Auml", 196}, 56 {"Beta", 914}, 57 {"Ccedil", 199}, 58 {"Chi", 935}, 59 {"Dagger", 8225}, 60 {"Delta", 916}, 61 {"ETH", 208}, 62 {"Eacute", 201}, 63 {"Ecirc", 202}, 64 {"Egrave", 200}, 65 {"Epsilon", 917}, 66 {"Eta", 919}, 67 {"Euml", 203}, 68 {"Gamma", 915}, 69 {"Iacute", 205}, 70 {"Icirc", 206}, 71 {"Igrave", 204}, 72 {"Iota", 921}, 73 {"Iuml", 207}, 74 {"Kappa", 922}, 75 {"Lambda", 923}, 76 {"Mu", 924}, 77 {"Ntilde", 209}, 78 {"Nu", 925}, 79 {"OElig", 338}, 80 {"Oacute", 211}, 81 {"Ocirc", 212}, 82 {"Ograve", 210}, 83 {"Omega", 937}, 84 {"Omicron", 927}, 85 {"Oslash", 216}, 86 {"Otilde", 213}, 87 {"Ouml", 214}, 88 {"Phi", 934}, 89 {"Pi", 928}, 90 {"Prime", 8243}, 91 {"Psi", 936}, 92 {"Rho", 929}, 93 {"Scaron", 352}, 94 {"Sigma", 931}, 95 {"THORN", 222}, 96 {"Tau", 932}, 97 {"Theta", 920}, 98 {"Uacute", 218}, 99 {"Ucirc", 219}, 100 {"Ugrave", 217}, 101 {"Upsilon", 933}, 102 {"Uuml", 220}, 103 {"Xi", 926}, 104 {"Yacute", 221}, 105 {"Yuml", 376}, 106 {"Zeta", 918}, 107 {"aacute", 225}, 108 {"acirc", 226}, 109 {"acute", 180}, 110 {"aelig", 230}, 111 {"agrave", 224}, 112 {"alefsym", 8501}, 113 {"alpha", 945}, 114 {"amp", 38}, 115 {"and", 8743}, 116 {"ang", 8736}, 117 {"aring", 229}, 118 {"asymp", 8776}, 119 {"atilde", 227}, 120 {"auml", 228}, 121 {"bdquo", 8222}, 122 {"beta", 946}, 123 {"brvbar", 166}, 124 {"bull", 8226}, 125 {"cap", 8745}, 126 {"ccedil", 231}, 127 {"cedil", 184}, 128 {"cent", 162}, 129 {"chi", 967}, 130 {"circ", 710}, 131 {"clubs", 9827}, 132 {"cong", 8773}, 133 {"copy", 169}, 134 {"crarr", 8629}, 135 {"cup", 8746}, 136 {"curren", 164}, 137 {"dArr", 8659}, 138 {"dagger", 8224}, 139 {"darr", 8595}, 140 {"deg", 176}, 141 {"delta", 948}, 142 {"diams", 9830}, 143 {"divide", 247}, 144 {"eacute", 233}, 145 {"ecirc", 234}, 146 {"egrave", 232}, 147 {"empty", 8709}, 148 {"emsp", 8195}, 149 {"ensp", 8194}, 150 {"epsilon", 949}, 151 {"equiv", 8801}, 152 {"eta", 951}, 153 {"eth", 240}, 154 {"euml", 235}, 155 {"euro", 8364}, 156 {"exist", 8707}, 157 {"fnof", 402}, 158 {"forall", 8704}, 159 {"frac12", 189}, 160 {"frac14", 188}, 161 {"frac34", 190}, 162 {"frasl", 8260}, 163 {"gamma", 947}, 164 {"ge", 8805}, 165 {"gt", 62}, 166 {"hArr", 8660}, 167 {"harr", 8596}, 168 {"hearts", 9829}, 169 {"hellip", 8230}, 170 {"iacute", 237}, 171 {"icirc", 238}, 172 {"iexcl", 161}, 173 {"igrave", 236}, 174 {"image", 8465}, 175 {"infin", 8734}, 176 {"int", 8747}, 177 {"iota", 953}, 178 {"iquest", 191}, 179 {"isin", 8712}, 180 {"iuml", 239}, 181 {"kappa", 954}, 182 {"lArr", 8656}, 183 {"lambda", 955}, 184 {"lang", 9001}, 185 {"laquo", 171}, 186 {"larr", 8592}, 187 {"lceil", 8968}, 188 {"ldquo", 8220}, 189 {"le", 8804}, 190 {"lfloor", 8970}, 191 {"lowast", 8727}, 192 {"loz", 9674}, 193 {"lrm", 8206}, 194 {"lsaquo", 8249}, 195 {"lsquo", 8216}, 196 {"lt", 60}, 197 {"macr", 175}, 198 {"mdash", 8212}, 199 {"micro", 181}, 200 {"middot", 183}, 201 {"minus", 8722}, 202 {"mu", 956}, 203 {"nabla", 8711}, 204 {"nbsp", 160}, 205 {"ndash", 8211}, 206 {"ne", 8800}, 207 {"ni", 8715}, 208 {"not", 172}, 209 {"notin", 8713}, 210 {"nsub", 8836}, 211 {"ntilde", 241}, 212 {"nu", 957}, 213 {"oacute", 243}, 214 {"ocirc", 244}, 215 {"oelig", 339}, 216 {"ograve", 242}, 217 {"oline", 8254}, 218 {"omega", 969}, 219 {"omicron", 959}, 220 {"oplus", 8853}, 221 {"or", 8744}, 222 {"ordf", 170}, 223 {"ordm", 186}, 224 {"oslash", 248}, 225 {"otilde", 245}, 226 {"otimes", 8855}, 227 {"ouml", 246}, 228 {"para", 182}, 229 {"part", 8706}, 230 {"permil", 8240}, 231 {"perp", 8869}, 232 {"phi", 966}, 233 {"pi", 960}, 234 {"piv", 982}, 235 {"plusmn", 177}, 236 {"pound", 163}, 237 {"prime", 8242}, 238 {"prod", 8719}, 239 {"prop", 8733}, 240 {"psi", 968}, 241 {"quot", 34}, 242 {"rArr", 8658}, 243 {"radic", 8730}, 244 {"rang", 9002}, 245 {"raquo", 187}, 246 {"rarr", 8594}, 247 {"rceil", 8969}, 248 {"rdquo", 8221}, 249 {"real", 8476}, 250 {"reg", 174}, 251 {"rfloor", 8971}, 252 {"rho", 961}, 253 {"rlm", 8207}, 254 {"rsaquo", 8250}, 255 {"rsquo", 8217}, 256 {"sbquo", 8218}, 257 {"scaron", 353}, 258 {"sdot", 8901}, 259 {"sect", 167}, 260 {"shy", 173}, 261 {"sigma", 963}, 262 {"sigmaf", 962}, 263 {"sim", 8764}, 264 {"spades", 9824}, 265 {"sub", 8834}, 266 {"sube", 8838}, 267 {"sum", 8721}, 268 {"sup", 8835}, 269 {"sup1", 185}, 270 {"sup2", 178}, 271 {"sup3", 179}, 272 {"supe", 8839}, 273 {"szlig", 223}, 274 {"tau", 964}, 275 {"there4", 8756}, 276 {"theta", 952}, 277 {"thetasym", 977}, 278 {"thinsp", 8201}, 279 {"thorn", 254}, 280 {"tilde", 732}, 281 {"times", 215}, 282 {"trade", 8482}, 283 {"uArr", 8657}, 284 {"uacute", 250}, 285 {"uarr", 8593}, 286 {"ucirc", 251}, 287 {"ugrave", 249}, 288 {"uml", 168}, 289 {"upsih", 978}, 290 {"upsilon", 965}, 291 {"uuml", 252}, 292 {"weierp", 8472}, 293 {"xi", 958}, 294 {"yacute", 253}, 295 {"yen", 165}, 296 {"yuml", 255}, 297 {"zeta", 950}, 298 {"zwj", 8205}, 299 {"zwnj", 8204}, 300 }; 301 302 #define MAP_ENTITY_NAME_LENGTH_MAX 8 303 #define MAP_NR_OF_ENTITIES 252 304 305 #ifdef __cplusplus 306 } 307 #endif 308