1 23 24 27 package org.enhydra.xml.io; 28 29 33 public class HTMLEntities { 34 37 public static final char quot = '\u0022'; 38 39 42 public static final char amp = '\u0026'; 43 44 47 public static final char lt = '\u003c'; 48 49 52 public static final char gt = '\u003e'; 53 54 57 public static final char nbsp = '\u00a0'; 58 59 62 public static final char iexcl = '\u00a1'; 63 64 67 public static final char cent = '\u00a2'; 68 69 72 public static final char pound = '\u00a3'; 73 74 77 public static final char curren = '\u00a4'; 78 79 82 public static final char yen = '\u00a5'; 83 84 87 public static final char brvbar = '\u00a6'; 88 89 92 public static final char sect = '\u00a7'; 93 94 97 public static final char uml = '\u00a8'; 98 99 102 public static final char copy = '\u00a9'; 103 104 107 public static final char ordf = '\u00aa'; 108 109 112 public static final char laquo = '\u00ab'; 113 114 117 public static final char not = '\u00ac'; 118 119 122 public static final char shy = '\u00ad'; 123 124 127 public static final char reg = '\u00ae'; 128 129 132 public static final char macr = '\u00af'; 133 134 137 public static final char deg = '\u00b0'; 138 139 142 public static final char plusmn = '\u00b1'; 143 144 147 public static final char sup2 = '\u00b2'; 148 149 152 public static final char sup3 = '\u00b3'; 153 154 157 public static final char acute = '\u00b4'; 158 159 162 public static final char micro = '\u00b5'; 163 164 167 public static final char para = '\u00b6'; 168 169 172 public static final char middot = '\u00b7'; 173 174 177 public static final char cedil = '\u00b8'; 178 179 182 public static final char sup1 = '\u00b9'; 183 184 187 public static final char ordm = '\u00ba'; 188 189 192 public static final char raquo = '\u00bb'; 193 194 197 public static final char frac14 = '\u00bc'; 198 199 202 public static final char frac12 = '\u00bd'; 203 204 207 public static final char frac34 = '\u00be'; 208 209 212 public static final char iquest = '\u00bf'; 213 214 217 public static final char Agrave = '\u00c0'; 218 219 222 public static final char Aacute = '\u00c1'; 223 224 227 public static final char Acirc = '\u00c2'; 228 229 232 public static final char Atilde = '\u00c3'; 233 234 237 public static final char Auml = '\u00c4'; 238 239 242 public static final char Aring = '\u00c5'; 243 244 247 public static final char AElig = '\u00c6'; 248 249 252 public static final char Ccedil = '\u00c7'; 253 254 257 public static final char Egrave = '\u00c8'; 258 259 262 public static final char Eacute = '\u00c9'; 263 264 267 public static final char Ecirc = '\u00ca'; 268 269 272 public static final char Euml = '\u00cb'; 273 274 277 public static final char Igrave = '\u00cc'; 278 279 282 public static final char Iacute = '\u00cd'; 283 284 287 public static final char Icirc = '\u00ce'; 288 289 292 public static final char Iuml = '\u00cf'; 293 294 297 public static final char ETH = '\u00d0'; 298 299 302 public static final char Ntilde = '\u00d1'; 303 304 307 public static final char Ograve = '\u00d2'; 308 309 312 public static final char Oacute = '\u00d3'; 313 314 317 public static final char Ocirc = '\u00d4'; 318 319 322 public static final char Otilde = '\u00d5'; 323 324 327 public static final char Ouml = '\u00d6'; 328 329 332 public static final char times = '\u00d7'; 333 334 337 public static final char Oslash = '\u00d8'; 338 339 342 public static final char Ugrave = '\u00d9'; 343 344 347 public static final char Uacute = '\u00da'; 348 349 352 public static final char Ucirc = '\u00db'; 353 354 357 public static final char Uuml = '\u00dc'; 358 359 362 public static final char Yacute = '\u00dd'; 363 364 367 public static final char THORN = '\u00de'; 368 369 372 public static final char szlig = '\u00df'; 373 374 377 public static final char agrave = '\u00e0'; 378 379 382 public static final char aacute = '\u00e1'; 383 384 387 public static final char acirc = '\u00e2'; 388 389 392 public static final char atilde = '\u00e3'; 393 394 397 public static final char auml = '\u00e4'; 398 399 402 public static final char aring = '\u00e5'; 403 404 407 public static final char aelig = '\u00e6'; 408 409 412 public static final char ccedil = '\u00e7'; 413 414 417 public static final char egrave = '\u00e8'; 418 419 422 public static final char eacute = '\u00e9'; 423 424 427 public static final char ecirc = '\u00ea'; 428 429 432 public static final char euml = '\u00eb'; 433 434 437 public static final char igrave = '\u00ec'; 438 439 442 public static final char iacute = '\u00ed'; 443 444 447 public static final char icirc = '\u00ee'; 448 449 452 public static final char iuml = '\u00ef'; 453 454 457 public static final char eth = '\u00f0'; 458 459 462 public static final char ntilde = '\u00f1'; 463 464 467 public static final char ograve = '\u00f2'; 468 469 472 public static final char oacute = '\u00f3'; 473 474 477 public static final char ocirc = '\u00f4'; 478 479 482 public static final char otilde = '\u00f5'; 483 484 487 public static final char ouml = '\u00f6'; 488 489 492 public static final char divide = '\u00f7'; 493 494 497 public static final char oslash = '\u00f8'; 498 499 502 public static final char ugrave = '\u00f9'; 503 504 507 public static final char uacute = '\u00fa'; 508 509 512 public static final char ucirc = '\u00fb'; 513 514 517 public static final char uuml = '\u00fc'; 518 519 522 public static final char yacute = '\u00fd'; 523 524 527 public static final char thorn = '\u00fe'; 528 529 532 public static final char yuml = '\u00ff'; 533 534 537 public static final char fnof = '\u0192'; 538 539 542 public static final char Alpha = '\u0391'; 543 544 547 public static final char Beta = '\u0392'; 548 549 552 public static final char Gamma = '\u0393'; 553 554 557 public static final char Delta = '\u0394'; 558 559 562 public static final char Epsilon = '\u0395'; 563 564 567 public static final char Zeta = '\u0396'; 568 569 572 public static final char Eta = '\u0397'; 573 574 577 public static final char Theta = '\u0398'; 578 579 582 public static final char Iota = '\u0399'; 583 584 587 public static final char Kappa = '\u039a'; 588 589 592 public static final char Lambda = '\u039b'; 593 594 597 public static final char Mu = '\u039c'; 598 599 602 public static final char Nu = '\u039d'; 603 604 607 public static final char Xi = '\u039e'; 608 609 612 public static final char Omicron = '\u039f'; 613 614 617 public static final char Pi = '\u03a0'; 618 619 622 public static final char Rho = '\u03a1'; 623 624 627 public static final char Sigma = '\u03a3'; 628 629 632 public static final char Tau = '\u03a4'; 633 634 637 public static final char Upsilon = '\u03a5'; 638 639 642 public static final char Phi = '\u03a6'; 643 644 647 public static final char Chi = '\u03a7'; 648 649 652 public static final char Psi = '\u03a8'; 653 654 657 public static final char Omega = '\u03a9'; 658 659 662 public static final char alpha = '\u03b1'; 663 664 667 public static final char beta = '\u03b2'; 668 669 672 public static final char gamma = '\u03b3'; 673 674 677 public static final char delta = '\u03b4'; 678 679 682 public static final char epsilon = '\u03b5'; 683 684 687 public static final char zeta = '\u03b6'; 688 689 692 public static final char eta = '\u03b7'; 693 694 697 public static final char theta = '\u03b8'; 698 699 702 public static final char iota = '\u03b9'; 703 704 707 public static final char kappa = '\u03ba'; 708 709 712 public static final char lambda = '\u03bb'; 713 714 717 public static final char mu = '\u03bc'; 718 719 722 public static final char nu = '\u03bd'; 723 724 727 public static final char xi = '\u03be'; 728 729 732 public static final char omicron = '\u03bf'; 733 734 737 public static final char pi = '\u03c0'; 738 739 742 public static final char rho = '\u03c1'; 743 744 747 public static final char sigmaf = '\u03c2'; 748 749 752 public static final char sigma = '\u03c3'; 753 754 757 public static final char tau = '\u03c4'; 758 759 762 public static final char upsilon = '\u03c5'; 763 764 767 public static final char phi = '\u03c6'; 768 769 772 public static final char chi = '\u03c7'; 773 774 777 public static final char psi = '\u03c8'; 778 779 782 public static final char omega = '\u03c9'; 783 784 787 public static final char thetasym = '\u03d1'; 788 789 792 public static final char upsih = '\u03d2'; 793 794 797 public static final char piv = '\u03d6'; 798 799 802 public static final char bull = '\u2022'; 803 804 807 public static final char hellip = '\u2026'; 808 809 812 public static final char prime = '\u2032'; 813 814 817 public static final char Prime = '\u2033'; 818 819 822 public static final char oline = '\u203e'; 823 824 827 public static final char frasl = '\u2044'; 828 829 832 public static final char weierp = '\u2118'; 833 834 837 public static final char image = '\u2111'; 838 839 842 public static final char real = '\u211c'; 843 844 847 public static final char trade = '\u2122'; 848 849 852 public static final char alefsym = '\u2135'; 853 854 857 public static final char larr = '\u2190'; 858 859 862 public static final char uarr = '\u2191'; 863 864 867 public static final char rarr = '\u2192'; 868 869 872 public static final char darr = '\u2193'; 873 874 877 public static final char harr = '\u2194'; 878 879 882 public static final char crarr = '\u21b5'; 883 884 887 public static final char lArr = '\u21d0'; 888 889 892 public static final char uArr = '\u21d1'; 893 894 897 public static final char rArr = '\u21d2'; 898 899 902 public static final char dArr = '\u21d3'; 903 904 907 public static final char hArr = '\u21d4'; 908 909 912 public static final char forall = '\u2200'; 913 914 917 public static final char part = '\u2202'; 918 919 922 public static final char exist = '\u2203'; 923 924 927 public static final char empty = '\u2205'; 928 929 932 public static final char nabla = '\u2207'; 933 934 937 public static final char isin = '\u2208'; 938 939 942 public static final char notin = '\u2209'; 943 944 947 public static final char ni = '\u220b'; 948 949 952 public static final char prod = '\u220f'; 953 954 957 public static final char sum = '\u2211'; 958 959 962 public static final char minus = '\u2212'; 963 964 967 public static final char lowast = '\u2217'; 968 969 972 public static final char radic = '\u221a'; 973 974 977 public static final char prop = '\u221d'; 978 979 982 public static final char infin = '\u221e'; 983 984 987 public static final char ang = '\u2220'; 988 989 992 public static final char and = '\u2227'; 993 994 997 public static final char or = '\u2228'; 998 999 1002 public static final char cap = '\u2229'; 1003 1004 1007 public static final char cup = '\u222a'; 1008 1009 1012 public static final char intChar = '\u222b'; 1013 1014 1017 public static final char there4 = '\u2234'; 1018 1019 1022 public static final char sim = '\u223c'; 1023 1024 1027 public static final char cong = '\u2245'; 1028 1029 1032 public static final char asymp = '\u2248'; 1033 1034 1037 public static final char ne = '\u2260'; 1038 1039 1042 public static final char equiv = '\u2261'; 1043 1044 1047 public static final char le = '\u2264'; 1048 1049 1052 public static final char ge = '\u2265'; 1053 1054 1057 public static final char sub = '\u2282'; 1058 1059 1062 public static final char sup = '\u2283'; 1063 1064 1067 public static final char nsub = '\u2284'; 1068 1069 1072 public static final char sube = '\u2286'; 1073 1074 1077 public static final char supe = '\u2287'; 1078 1079 1082 public static final char oplus = '\u2295'; 1083 1084 1087 public static final char otimes = '\u2297'; 1088 1089 1092 public static final char perp = '\u22a5'; 1093 1094 1097 public static final char sdot = '\u22c5'; 1098 1099 1102 public static final char lceil = '\u2308'; 1103 1104 1107 public static final char rceil = '\u2309'; 1108 1109 1112 public static final char lfloor = '\u230a'; 1113 1114 1117 public static final char rfloor = '\u230b'; 1118 1119 1122 public static final char lang = '\u2329'; 1123 1124 1127 public static final char rang = '\u232a'; 1128 1129 1132 public static final char loz = '\u25ca'; 1133 1134 1137 public static final char spades = '\u2660'; 1138 1139 1142 public static final char clubs = '\u2663'; 1143 1144 1147 public static final char hearts = '\u2665'; 1148 1149 1152 public static final char diams = '\u2666'; 1153 1154 1157 public static final char OElig = '\u0152'; 1158 1159 1162 public static final char oelig = '\u0153'; 1163 1164 1167 public static final char Scaron = '\u0160'; 1168 1169 1172 public static final char scaron = '\u0161'; 1173 1174 1177 public static final char Yuml = '\u0178'; 1178 1179 1182 public static final char circ = '\u02c6'; 1183 1184 1187 public static final char tilde = '\u02dc'; 1188 1189 1192 public static final char ensp = '\u2002'; 1193 1194 1197 public static final char emsp = '\u2003'; 1198 1199 1202 public static final char thinsp = '\u2009'; 1203 1204 1207 public static final char zwnj = '\u200c'; 1208 1209 1212 public static final char zwj = '\u200d'; 1213 1214 1217 public static final char lrm = '\u200e'; 1218 1219 1222 public static final char rlm = '\u200f'; 1223 1224 1227 public static final char ndash = '\u2013'; 1228 1229 1232 public static final char mdash = '\u2014'; 1233 1234 1237 public static final char lsquo = '\u2018'; 1238 1239 1242 public static final char rsquo = '\u2019'; 1243 1244 1247 public static final char sbquo = '\u201a'; 1248 1249 1252 public static final char ldquo = '\u201c'; 1253 1254 1257 public static final char rdquo = '\u201d'; 1258 1259 1262 public static final char bdquo = '\u201e'; 1263 1264 1267 public static final char dagger = '\u2020'; 1268 1269 1272 public static final char Dagger = '\u2021'; 1273 1274 1277 public static final char permil = '\u2030'; 1278 1279 1282 public static final char lsaquo = '\u2039'; 1283 1284 1287 public static final char rsaquo = '\u203a'; 1288 1289 1292 public static final char euro = '\u20ac'; 1293 1294 1297 private HTMLEntities() { 1298 } 1299 1300 1308 public static final String charToEntity(char textChar) { 1309 switch (textChar) { 1310 case '\u0022': return "quot"; 1314 case '\u0026': return "amp"; 1315 case '\u003c': return "lt"; 1316 case '\u003e': return "gt"; 1317 case '\u00a0': return "nbsp"; 1318 case '\u00a1': return "iexcl"; 1322 case '\u00a2': return "cent"; 1323 case '\u00a3': return "pound"; 1324 case '\u00a4': return "curren"; 1325 case '\u00a5': return "yen"; 1326 case '\u00a6': return "brvbar"; 1327 case '\u00a7': return "sect"; 1328 case '\u00a8': return "uml"; 1329 case '\u00a9': return "copy"; 1330 case '\u00aa': return "ordf"; 1331 case '\u00ab': return "laquo"; 1332 case '\u00ac': return "not"; 1333 case '\u00ad': return "shy"; 1334 case '\u00ae': return "reg"; 1335 case '\u00af': return "macr"; 1336 case '\u00b0': return "deg"; 1337 case '\u00b1': return "plusmn"; 1338 case '\u00b2': return "sup2"; 1339 case '\u00b3': return "sup3"; 1340 case '\u00b4': return "acute"; 1341 case '\u00b5': return "micro"; 1342 case '\u00b6': return "para"; 1343 case '\u00b7': return "middot"; 1344 case '\u00b8': return "cedil"; 1345 case '\u00b9': return "sup1"; 1346 case '\u00ba': return "ordm"; 1347 case '\u00bb': return "raquo"; 1348 case '\u00bc': return "frac14"; 1349 case '\u00bd': return "frac12"; 1350 case '\u00be': return "frac34"; 1351 case '\u00bf': return "iquest"; 1352 case '\u00c0': return "Agrave"; 1353 case '\u00c1': return "Aacute"; 1354 case '\u00c2': return "Acirc"; 1355 case '\u00c3': return "Atilde"; 1356 case '\u00c4': return "Auml"; 1357 case '\u00c5': return "Aring"; 1358 case '\u00c6': return "AElig"; 1359 case '\u00c7': return "Ccedil"; 1360 case '\u00c8': return "Egrave"; 1361 case '\u00c9': return "Eacute"; 1362 case '\u00ca': return "Ecirc"; 1363 case '\u00cb': return "Euml"; 1364 case '\u00cc': return "Igrave"; 1365 case '\u00cd': return "Iacute"; 1366 case '\u00ce': return "Icirc"; 1367 case '\u00cf': return "Iuml"; 1368 case '\u00d0': return "ETH"; 1369 case '\u00d1': return "Ntilde"; 1370 case '\u00d2': return "Ograve"; 1371 case '\u00d3': return "Oacute"; 1372 case '\u00d4': return "Ocirc"; 1373 case '\u00d5': return "Otilde"; 1374 case '\u00d6': return "Ouml"; 1375 case '\u00d7': return "times"; 1376 case '\u00d8': return "Oslash"; 1377 case '\u00d9': return "Ugrave"; 1378 case '\u00da': return "Uacute"; 1379 case '\u00db': return "Ucirc"; 1380 case '\u00dc': return "Uuml"; 1381 case '\u00dd': return "Yacute"; 1382 case '\u00de': return "THORN"; 1383 case '\u00df': return "szlig"; 1384 case '\u00e0': return "agrave"; 1385 case '\u00e1': return "aacute"; 1386 case '\u00e2': return "acirc"; 1387 case '\u00e3': return "atilde"; 1388 case '\u00e4': return "auml"; 1389 case '\u00e5': return "aring"; 1390 case '\u00e6': return "aelig"; 1391 case '\u00e7': return "ccedil"; 1392 case '\u00e8': return "egrave"; 1393 case '\u00e9': return "eacute"; 1394 case '\u00ea': return "ecirc"; 1395 case '\u00eb': return "euml"; 1396 case '\u00ec': return "igrave"; 1397 case '\u00ed': return "iacute"; 1398 case '\u00ee': return "icirc"; 1399 case '\u00ef': return "iuml"; 1400 case '\u00f0': return "eth"; 1401 case '\u00f1': return "ntilde"; 1402 case '\u00f2': return "ograve"; 1403 case '\u00f3': return "oacute"; 1404 case '\u00f4': return "ocirc"; 1405 case '\u00f5': return "otilde"; 1406 case '\u00f6': return "ouml"; 1407 case '\u00f7': return "divide"; 1408 case '\u00f8': return "oslash"; 1409 case '\u00f9': return "ugrave"; 1410 case '\u00fa': return "uacute"; 1411 case '\u00fb': return "ucirc"; 1412 case '\u00fc': return "uuml"; 1413 case '\u00fd': return "yacute"; 1414 case '\u00fe': return "thorn"; 1415 case '\u00ff': return "yuml"; 1416 default: 1417 return null; 1418 } 1419 } 1420 1421 1429 public static String charToEntity4(char textChar) { 1430 String charStr = charToEntity(textChar); 1431 if (charStr != null) { 1432 return charStr; 1433 } 1434 switch (textChar) { 1435 case '\u0192': return "fnof"; 1440 case '\u0391': return "Alpha"; 1443 case '\u0392': return "Beta"; 1444 case '\u0393': return "Gamma"; 1445 case '\u0394': return "Delta"; 1446 case '\u0395': return "Epsilon"; 1447 case '\u0396': return "Zeta"; 1448 case '\u0397': return "Eta"; 1449 case '\u0398': return "Theta"; 1450 case '\u0399': return "Iota"; 1451 case '\u039a': return "Kappa"; 1452 case '\u039b': return "Lambda"; 1453 case '\u039c': return "Mu"; 1454 case '\u039d': return "Nu"; 1455 case '\u039e': return "Xi"; 1456 case '\u039f': return "Omicron"; 1457 case '\u03a0': return "Pi"; 1458 case '\u03a1': return "Rho"; 1459 case '\u03a3': return "Sigma"; 1460 case '\u03a4': return "Tau"; 1461 case '\u03a5': return "Upsilon"; 1462 case '\u03a6': return "Phi"; 1463 case '\u03a7': return "Chi"; 1464 case '\u03a8': return "Psi"; 1465 case '\u03a9': return "Omega"; 1466 case '\u03b1': return "alpha"; 1467 case '\u03b2': return "beta"; 1468 case '\u03b3': return "gamma"; 1469 case '\u03b4': return "delta"; 1470 case '\u03b5': return "epsilon"; 1471 case '\u03b6': return "zeta"; 1472 case '\u03b7': return "eta"; 1473 case '\u03b8': return "theta"; 1474 case '\u03b9': return "iota"; 1475 case '\u03ba': return "kappa"; 1476 case '\u03bb': return "lambda"; 1477 case '\u03bc': return "mu"; 1478 case '\u03bd': return "nu"; 1479 case '\u03be': return "xi"; 1480 case '\u03bf': return "omicron"; 1481 case '\u03c0': return "pi"; 1482 case '\u03c1': return "rho"; 1483 case '\u03c2': return "sigmaf"; 1484 case '\u03c3': return "sigma"; 1485 case '\u03c4': return "tau"; 1486 case '\u03c5': return "upsilon"; 1487 case '\u03c6': return "phi"; 1488 case '\u03c7': return "chi"; 1489 case '\u03c8': return "psi"; 1490 case '\u03c9': return "omega"; 1491 case '\u03d1': return "thetasym"; 1492 case '\u03d2': return "upsih"; 1493 case '\u03d6': return "piv"; 1494 case '\u2022': return "bull"; 1497 case '\u2026': return "hellip"; 1498 case '\u2032': return "prime"; 1499 case '\u2033': return "Prime"; 1500 case '\u203e': return "oline"; 1501 case '\u2044': return "frasl"; 1502 case '\u2118': return "weierp"; 1505 case '\u2111': return "image"; 1506 case '\u211c': return "real"; 1507 case '\u2122': return "trade"; 1508 case '\u2135': return "alefsym"; 1509 case '\u2190': return "larr"; 1512 case '\u2191': return "uarr"; 1513 case '\u2192': return "rarr"; 1514 case '\u2193': return "darr"; 1515 case '\u2194': return "harr"; 1516 case '\u21b5': return "crarr"; 1517 case '\u21d0': return "lArr"; 1518 case '\u21d1': return "uArr"; 1519 case '\u21d2': return "rArr"; 1520 case '\u21d3': return "dArr"; 1521 case '\u21d4': return "hArr"; 1522 case '\u2200': return "forall"; 1525 case '\u2202': return "part"; 1526 case '\u2203': return "exist"; 1527 case '\u2205': return "empty"; 1528 case '\u2207': return "nabla"; 1529 case '\u2208': return "isin"; 1530 case '\u2209': return "notin"; 1531 case '\u220b': return "ni"; 1532 case '\u220f': return "prod"; 1533 case '\u2211': return "sum"; 1534 case '\u2212': return "minus"; 1535 case '\u2217': return "lowast"; 1536 case '\u221a': return "radic"; 1537 case '\u221d': return "prop"; 1538 case '\u221e': return "infin"; 1539 case '\u2220': return "ang"; 1540 case '\u2227': return "and"; 1541 case '\u2228': return "or"; 1542 case '\u2229': return "cap"; 1543 case '\u222a': return "cup"; 1544 case '\u222b': return "int"; 1545 case '\u2234': return "there4"; 1546 case '\u223c': return "sim"; 1547 case '\u2245': return "cong"; 1548 case '\u2248': return "asymp"; 1549 case '\u2260': return "ne"; 1550 case '\u2261': return "equiv"; 1551 case '\u2264': return "le"; 1552 case '\u2265': return "ge"; 1553 case '\u2282': return "sub"; 1554 case '\u2283': return "sup"; 1555 case '\u2284': return "nsub"; 1556 case '\u2286': return "sube"; 1557 case '\u2287': return "supe"; 1558 case '\u2295': return "oplus"; 1559 case '\u2297': return "otimes"; 1560 case '\u22a5': return "perp"; 1561 case '\u22c5': return "sdot"; 1562 case '\u2308': return "lceil"; 1565 case '\u2309': return "rceil"; 1566 case '\u230a': return "lfloor"; 1567 case '\u230b': return "rfloor"; 1568 case '\u2329': return "lang"; 1569 case '\u232a': return "rang"; 1570 case '\u25ca': return "loz"; 1573 case '\u2660': return "spades"; 1576 case '\u2663': return "clubs"; 1577 case '\u2665': return "hearts"; 1578 case '\u2666': return "diams"; 1579 case '\u0152': return "OElig"; 1584 case '\u0153': return "oelig"; 1585 case '\u0160': return "Scaron"; 1586 case '\u0161': return "scaron"; 1587 case '\u0178': return "Yuml"; 1588 case '\u02c6': return "circ"; 1591 case '\u02dc': return "tilde"; 1592 case '\u2002': return "ensp"; 1595 case '\u2003': return "emsp"; 1596 case '\u2009': return "thinsp"; 1597 case '\u200c': return "zwnj"; 1598 case '\u200d': return "zwj"; 1599 case '\u200e': return "lrm"; 1600 case '\u200f': return "rlm"; 1601 case '\u2013': return "ndash"; 1602 case '\u2014': return "mdash"; 1603 case '\u2018': return "lsquo"; 1604 case '\u2019': return "rsquo"; 1605 case '\u201a': return "sbquo"; 1606 case '\u201c': return "ldquo"; 1607 case '\u201d': return "rdquo"; 1608 case '\u201e': return "bdquo"; 1609 case '\u2020': return "dagger"; 1610 case '\u2021': return "Dagger"; 1611 case '\u2030': return "permil"; 1612 case '\u2039': return "lsaquo"; 1613 case '\u203a': return "rsaquo"; 1614 case '\u20ac': return "euro"; 1615 default: 1616 return null; 1617 } 1618 } 1619} 1620 | Popular Tags |