add HTML 4.0 entity
git-svn-id: svn://10.0.0.236/trunk@2742 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -71,44 +71,40 @@ typedef struct PA_N2U_struct {
|
||||
|
||||
/* NE LEN UNICODE */
|
||||
static PA_N2U PA_Name2Unicode[] = {
|
||||
{"quot", 4, 0x0022 },
|
||||
{"QUOT", 4, 0x0022 },
|
||||
{"amp", 3, 0x0026 },
|
||||
{"AMP", 3, 0x0026 },
|
||||
{"lt", 2, 0x003c },
|
||||
{"LT", 2, 0x003c },
|
||||
{"gt", 2, 0x003e },
|
||||
{"GT", 2, 0x003e },
|
||||
{"amp", 3, 0x0026 },
|
||||
{"AMP", 3, 0x0026 },
|
||||
{"quot", 4, 0x0022 },
|
||||
{"QUOT", 4, 0x0022 },
|
||||
{"nbsp", 4, 0x00a0 },
|
||||
{"reg", 3, 0x00ae },
|
||||
{"REG", 3, 0x00ae },
|
||||
{"copy", 4, 0x00a9 },
|
||||
{"COPY", 4, 0x00a9 },
|
||||
|
||||
{"nbsp", 4, 0x00a0 },
|
||||
{"iexcl", 5, 0x00a1 },
|
||||
{"cent", 4, 0x00a2 },
|
||||
{"pound", 5, 0x00a3 },
|
||||
{"curren", 6, 0x00a4 },
|
||||
{"curren", 6, 0x00a4 },
|
||||
{"yen", 3, 0x00a5 },
|
||||
{"brvbar", 6, 0x00a6 },
|
||||
{"sect", 4, 0x00a7 },
|
||||
|
||||
{"uml", 3, 0x00a8 },
|
||||
{"copy", 4, 0x00a9 },
|
||||
{"COPY", 4, 0x00a9 },
|
||||
{"ordf", 4, 0x00aa },
|
||||
{"laquo", 5, 0x00ab },
|
||||
{"not", 3, 0x00ac },
|
||||
{"shy", 3, 0x00ad },
|
||||
{"reg", 3, 0x00ae },
|
||||
{"REG", 3, 0x00ae },
|
||||
{"macr", 4, 0x00af },
|
||||
|
||||
{"deg", 3, 0x00b0 },
|
||||
{"plusmn", 6, 0x00b1 },
|
||||
{"sup2", 4, 0x00b2 },
|
||||
{"sup3", 4, 0x00b3 },
|
||||
{"acute", 5, 0x00b4 },
|
||||
{"acute", 5, 0x00b4 },
|
||||
{"micro", 5, 0x00b5 },
|
||||
{"para", 4, 0x00b6 },
|
||||
{"middot", 6, 0x00b7 },
|
||||
|
||||
{"cedil", 5, 0x00b8 },
|
||||
{"sup1", 4, 0x00b9 },
|
||||
{"ordm", 4, 0x00ba },
|
||||
@@ -117,7 +113,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"frac12", 6, 0x00bd },
|
||||
{"frac34", 6, 0x00be },
|
||||
{"iquest", 6, 0x00bf },
|
||||
|
||||
{"Agrave", 6, 0x00c0 },
|
||||
{"Aacute", 6, 0x00c1 },
|
||||
{"Acirc", 5, 0x00c2 },
|
||||
@@ -126,7 +121,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"Aring", 5, 0x00c5 },
|
||||
{"AElig", 5, 0x00c6 },
|
||||
{"Ccedil", 6, 0x00c7 },
|
||||
|
||||
{"Egrave", 6, 0x00c8 },
|
||||
{"Eacute", 6, 0x00c9 },
|
||||
{"Ecirc", 5, 0x00ca },
|
||||
@@ -135,7 +129,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"Iacute", 6, 0x00cd },
|
||||
{"Icirc", 5, 0x00ce },
|
||||
{"Iuml", 4, 0x00cf },
|
||||
|
||||
{"ETH", 3, 0x00d0 },
|
||||
{"Ntilde", 6, 0x00d1 },
|
||||
{"Ograve", 6, 0x00d2 },
|
||||
@@ -144,7 +137,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"Otilde", 6, 0x00d5 },
|
||||
{"Ouml", 4, 0x00d6 },
|
||||
{"times", 5, 0x00d7 },
|
||||
|
||||
{"Oslash", 6, 0x00d8 },
|
||||
{"Ugrave", 6, 0x00d9 },
|
||||
{"Uacute", 6, 0x00da },
|
||||
@@ -153,7 +145,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"Yacute", 6, 0x00dd },
|
||||
{"THORN", 5, 0x00de },
|
||||
{"szlig", 5, 0x00df },
|
||||
|
||||
{"agrave", 6, 0x00e0 },
|
||||
{"aacute", 6, 0x00e1 },
|
||||
{"acirc", 5, 0x00e2 },
|
||||
@@ -162,7 +153,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"aring", 5, 0x00e5 },
|
||||
{"aelig", 5, 0x00e6 },
|
||||
{"ccedil", 6, 0x00e7 },
|
||||
|
||||
{"egrave", 6, 0x00e8 },
|
||||
{"eacute", 6, 0x00e9 },
|
||||
{"ecirc", 5, 0x00ea },
|
||||
@@ -171,7 +161,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"iacute", 6, 0x00ed },
|
||||
{"icirc", 5, 0x00ee },
|
||||
{"iuml", 4, 0x00ef },
|
||||
|
||||
{"eth", 3, 0x00f0 },
|
||||
{"ntilde", 6, 0x00f1 },
|
||||
{"ograve", 6, 0x00f2 },
|
||||
@@ -180,7 +169,6 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"otilde", 6, 0x00f5 },
|
||||
{"ouml", 4, 0x00f6 },
|
||||
{"divide", 6, 0x00f7 },
|
||||
|
||||
{"oslash", 6, 0x00f8 },
|
||||
{"ugrave", 6, 0x00f9 },
|
||||
{"uacute", 6, 0x00fa },
|
||||
@@ -189,7 +177,158 @@ static PA_N2U PA_Name2Unicode[] = {
|
||||
{"yacute", 6, 0x00fd },
|
||||
{"thorn", 5, 0x00fe },
|
||||
{"yuml", 4, 0x00ff },
|
||||
{"OElig", 5, 0x0152 },
|
||||
{"oelig", 5, 0x0153 },
|
||||
{"Scaron", 6, 0x0160 },
|
||||
{"scaron", 6, 0x0161 },
|
||||
{"Yuml", 4, 0x0178 },
|
||||
{"fnof", 4, 0x0192 },
|
||||
{"circ", 4, 0x02c6 },
|
||||
{"tilde", 5, 0x02dc },
|
||||
{"Alpha", 5, 0x0391 },
|
||||
{"Beta", 4, 0x0392 },
|
||||
{"Gamma", 5, 0x0393 },
|
||||
{"Delta", 5, 0x0394 },
|
||||
{"Epsilon", 7, 0x0395 },
|
||||
{"Zeta", 4, 0x0396 },
|
||||
{"Eta", 3, 0x0397 },
|
||||
{"Theta", 5, 0x0398 },
|
||||
{"Iota", 4, 0x0399 },
|
||||
{"Kappa", 5, 0x039a },
|
||||
{"Lambda", 6, 0x039b },
|
||||
{"Mu", 2, 0x039c },
|
||||
{"Nu", 2, 0x039d },
|
||||
{"Xi", 2, 0x039e },
|
||||
{"Omicron", 7, 0x039f },
|
||||
{"Pi", 2, 0x03a0 },
|
||||
{"Rho", 3, 0x03a1 },
|
||||
{"Sigma", 5, 0x03a3 },
|
||||
{"Tau", 3, 0x03a4 },
|
||||
{"Upsilon", 7, 0x03a5 },
|
||||
{"Phi", 3, 0x03a6 },
|
||||
{"Chi", 3, 0x03a7 },
|
||||
{"Psi", 3, 0x03a8 },
|
||||
{"Omega", 5, 0x03a9 },
|
||||
{"alpha", 5, 0x03b1 },
|
||||
{"beta", 4, 0x03b2 },
|
||||
{"gamma", 5, 0x03b3 },
|
||||
{"delta", 5, 0x03b4 },
|
||||
{"epsilon", 7, 0x03b5 },
|
||||
{"zeta", 4, 0x03b6 },
|
||||
{"eta", 3, 0x03b7 },
|
||||
{"theta", 5, 0x03b8 },
|
||||
{"iota", 4, 0x03b9 },
|
||||
{"kappa", 5, 0x03ba },
|
||||
{"lambda", 6, 0x03bb },
|
||||
{"mu", 2, 0x03bc },
|
||||
{"nu", 2, 0x03bd },
|
||||
{"xi", 2, 0x03be },
|
||||
{"omicron", 7, 0x03bf },
|
||||
{"pi", 2, 0x03c0 },
|
||||
{"rho", 3, 0x03c1 },
|
||||
{"sigmaf", 6, 0x03c2 },
|
||||
{"sigma", 5, 0x03c3 },
|
||||
{"tau", 3, 0x03c4 },
|
||||
{"upsilon", 7, 0x03c5 },
|
||||
{"phi", 3, 0x03c6 },
|
||||
{"chi", 3, 0x03c7 },
|
||||
{"psi", 3, 0x03c8 },
|
||||
{"omega", 5, 0x03c9 },
|
||||
{"thetasym", 8, 0x03d1 },
|
||||
{"upsih", 5, 0x03d2 },
|
||||
{"piv", 3, 0x03d6 },
|
||||
{"ensp", 4, 0x2002 },
|
||||
{"emsp", 4, 0x2003 },
|
||||
{"thinsp", 6, 0x2009 },
|
||||
{"zwnj", 4, 0x200c },
|
||||
{"zwj", 3, 0x200d },
|
||||
{"lrm", 3, 0x200e },
|
||||
{"rlm", 3, 0x200f },
|
||||
{"ndash", 5, 0x2013 },
|
||||
{"mdash", 5, 0x2014 },
|
||||
{"lsquo", 5, 0x2018 },
|
||||
{"rsquo", 5, 0x2019 },
|
||||
{"sbquo", 5, 0x201a },
|
||||
{"ldquo", 5, 0x201c },
|
||||
{"rdquo", 5, 0x201d },
|
||||
{"bdquo", 5, 0x201e },
|
||||
{"dagger", 6, 0x2020 },
|
||||
{"Dagger", 6, 0x2021 },
|
||||
{"bull", 4, 0x2022 },
|
||||
{"hellip", 6, 0x2026 },
|
||||
{"permil", 6, 0x2030 },
|
||||
{"prime", 5, 0x2032 },
|
||||
{"Prime", 5, 0x2033 },
|
||||
{"lsaquo", 6, 0x2039 },
|
||||
{"rsaquo", 6, 0x203a },
|
||||
{"oline", 5, 0x203e },
|
||||
{"frasl", 5, 0x2044 },
|
||||
{"euro", 4, 0x20ac },
|
||||
{"image", 5, 0x2111 },
|
||||
{"weierp", 6, 0x2118 },
|
||||
{"real", 4, 0x211c },
|
||||
{"trade", 5, 0x2122 },
|
||||
{"alefsym", 7, 0x2135 },
|
||||
{"larr", 4, 0x2190 },
|
||||
{"uarr", 4, 0x2191 },
|
||||
{"rarr", 4, 0x2192 },
|
||||
{"darr", 4, 0x2193 },
|
||||
{"harr", 4, 0x2194 },
|
||||
{"crarr", 5, 0x21b5 },
|
||||
{"lArr", 4, 0x21d0 },
|
||||
{"uArr", 4, 0x21d1 },
|
||||
{"rArr", 4, 0x21d2 },
|
||||
{"dArr", 4, 0x21d3 },
|
||||
{"hArr", 4, 0x21d4 },
|
||||
{"forall", 6, 0x2200 },
|
||||
{"part", 4, 0x2202 },
|
||||
{"exist", 5, 0x2203 },
|
||||
{"empty", 5, 0x2205 },
|
||||
{"nabla", 5, 0x2207 },
|
||||
{"isin", 4, 0x2208 },
|
||||
{"notin", 5, 0x2209 },
|
||||
{"ni", 2, 0x220b },
|
||||
{"prod", 4, 0x220f },
|
||||
{"sum", 3, 0x2211 },
|
||||
{"minus", 5, 0x2212 },
|
||||
{"lowast", 6, 0x2217 },
|
||||
{"radic", 5, 0x221a },
|
||||
{"prop", 4, 0x221d },
|
||||
{"infin", 5, 0x221e },
|
||||
{"ang", 3, 0x2220 },
|
||||
{"and", 3, 0x2227 },
|
||||
{"or", 2, 0x2228 },
|
||||
{"cap", 3, 0x2229 },
|
||||
{"cup", 3, 0x222a },
|
||||
{"int", 3, 0x222b },
|
||||
{"there4", 6, 0x2234 },
|
||||
{"sim", 3, 0x223c },
|
||||
{"cong", 4, 0x2245 },
|
||||
{"asymp", 5, 0x2248 },
|
||||
{"ne", 2, 0x2260 },
|
||||
{"equiv", 5, 0x2261 },
|
||||
{"le", 2, 0x2264 },
|
||||
{"ge", 2, 0x2265 },
|
||||
{"sub", 3, 0x2282 },
|
||||
{"sup", 3, 0x2283 },
|
||||
{"nsub", 4, 0x2284 },
|
||||
{"sube", 4, 0x2286 },
|
||||
{"supe", 4, 0x2287 },
|
||||
{"oplus", 5, 0x2295 },
|
||||
{"otimes", 6, 0x2297 },
|
||||
{"perp", 4, 0x22a5 },
|
||||
{"sdot", 4, 0x22c5 },
|
||||
{"lceil", 5, 0x2308 },
|
||||
{"rceil", 5, 0x2309 },
|
||||
{"lfloor", 6, 0x230a },
|
||||
{"rfloor", 6, 0x230b },
|
||||
{"lang", 4, 0x2329 },
|
||||
{"rang", 4, 0x232a },
|
||||
{"loz", 3, 0x25ca },
|
||||
{"spades", 6, 0x2660 },
|
||||
{"clubs", 5, 0x2663 },
|
||||
{"hearts", 6, 0x2665 },
|
||||
{"diams", 5, 0x2666 },
|
||||
|
||||
{NULL, 0, 0x0000 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user