Annotation of embedaddon/php/ext/mbstring/libmbfl/filters/html_entities.c, revision 1.1.1.1
1.1 misho 1: /*
2: * "streamable kanji code filter and converter"
3: * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
4: *
5: * LICENSE NOTICES
6: *
7: * This file is part of "streamable kanji code filter and converter",
8: * which is distributed under the terms of GNU Lesser General Public
9: * License (version 2) as published by the Free Software Foundation.
10: *
11: * This software is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with "streamable kanji code filter and converter";
18: * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
19: * Suite 330, Boston, MA 02111-1307 USA
20: *
21: * The author of this part: Marcus Boerger <helly@php.net>
22: *
23: */
24: /*
25: * The source code included in this files was separated from mbfilter.c
26: * by moriyoshi koizumi <moriyoshi@php.net> on 4 dec 2002.
27: *
28: */
29:
30: #ifdef HAVE_CONFIG_H
31: #include "config.h"
32: #endif
33:
34: #include "mbfilter.h"
35: #include "html_entities.h"
36:
37: const mbfl_html_entity_entry mbfl_html_entity_list[] = {
38: {"quot", 34},
39: {"amp", 38},
40: {"lt", 60},
41: {"gt", 62},
42: {"nbsp", 160},
43: {"iexcl", 161},
44: {"cent", 162},
45: {"pound", 163},
46: {"curren", 164},
47: {"yen", 165},
48: {"brvbar", 166},
49: {"sect", 167},
50: {"uml", 168},
51: {"copy", 169},
52: {"ordf", 170},
53: {"laquo", 171},
54: {"not", 172},
55: {"shy", 173},
56: {"reg", 174},
57: {"macr", 175},
58: {"deg", 176},
59: {"plusmn", 177},
60: {"sup2", 178},
61: {"sup3", 179},
62: {"acute", 180},
63: {"micro", 181},
64: {"para", 182},
65: {"middot", 183},
66: {"cedil", 184},
67: {"sup1", 185},
68: {"ordm", 186},
69: {"raquo", 187},
70: {"frac14", 188},
71: {"frac12", 189},
72: {"frac34", 190},
73: {"iquest", 191},
74: {"Agrave", 192},
75: {"Aacute", 193},
76: {"Acirc", 194},
77: {"Atilde", 195},
78: {"Auml", 196},
79: {"Aring", 197},
80: {"AElig", 198},
81: {"Ccedil", 199},
82: {"Egrave", 200},
83: {"Eacute", 201},
84: {"Ecirc", 202},
85: {"Euml", 203},
86: {"Igrave", 204},
87: {"Iacute", 205},
88: {"Icirc", 206},
89: {"Iuml", 207},
90: {"ETH", 208},
91: {"Ntilde", 209},
92: {"Ograve", 210},
93: {"Oacute", 211},
94: {"Ocirc", 212},
95: {"Otilde", 213},
96: {"Ouml", 214},
97: {"times", 215},
98: {"Oslash", 216},
99: {"Ugrave", 217},
100: {"Uacute", 218},
101: {"Ucirc", 219},
102: {"Uuml", 220},
103: {"Yacute", 221},
104: {"THORN", 222},
105: {"szlig", 223},
106: {"agrave", 224},
107: {"aacute", 225},
108: {"acirc", 226},
109: {"atilde", 227},
110: {"auml", 228},
111: {"aring", 229},
112: {"aelig", 230},
113: {"ccedil", 231},
114: {"egrave", 232},
115: {"eacute", 233},
116: {"ecirc", 234},
117: {"euml", 235},
118: {"igrave", 236},
119: {"iacute", 237},
120: {"icirc", 238},
121: {"iuml", 239},
122: {"eth", 240},
123: {"ntilde", 241},
124: {"ograve", 242},
125: {"oacute", 243},
126: {"ocirc", 244},
127: {"otilde", 245},
128: {"ouml", 246},
129: {"divide", 247},
130: {"oslash", 248},
131: {"ugrave", 249},
132: {"uacute", 250},
133: {"ucirc", 251},
134: {"uuml", 252},
135: {"yacute", 253},
136: {"thorn", 254},
137: {"yuml", 255},
138: {"OElig", 338},
139: {"oelig", 339},
140: {"Scaron", 352},
141: {"scaron", 353},
142: {"Yuml", 376},
143: {"fnof", 402},
144: {"circ", 710},
145: {"tilde", 732},
146: {"Alpha", 913},
147: {"Beta", 914},
148: {"Gamma", 915},
149: {"Delta", 916},
150: {"Epsilon", 917},
151: {"Zeta", 918},
152: {"Eta", 919},
153: {"Theta", 920},
154: {"Iota", 921},
155: {"Kappa", 922},
156: {"Lambda", 923},
157: {"Mu", 924},
158: {"Nu", 925},
159: {"Xi", 926},
160: {"Omicron", 927},
161: {"Pi", 928},
162: {"Rho", 929},
163: {"Sigma", 931},
164: {"Tau", 932},
165: {"Upsilon", 933},
166: {"Phi", 934},
167: {"Chi", 935},
168: {"Psi", 936},
169: {"Omega", 937},
170: {"alpha", 945},
171: {"beta", 946},
172: {"gamma", 947},
173: {"delta", 948},
174: {"epsilon", 949},
175: {"zeta", 950},
176: {"eta", 951},
177: {"theta", 952},
178: {"iota", 953},
179: {"kappa", 954},
180: {"lambda", 955},
181: {"mu", 956},
182: {"nu", 957},
183: {"xi", 958},
184: {"omicron", 959},
185: {"pi", 960},
186: {"rho", 961},
187: {"sigmaf", 962},
188: {"sigma", 963},
189: {"tau", 964},
190: {"upsilon", 965},
191: {"phi", 966},
192: {"chi", 967},
193: {"psi", 968},
194: {"omega", 969},
195: {"thetasym", 977},
196: {"upsih", 978},
197: {"piv", 982},
198: {"ensp", 8194},
199: {"emsp", 8195},
200: {"thinsp", 8201},
201: {"zwnj", 8204},
202: {"zwj", 8205},
203: {"lrm", 8206},
204: {"rlm", 8207},
205: {"ndash", 8211},
206: {"mdash", 8212},
207: {"lsquo", 8216},
208: {"rsquo", 8217},
209: {"sbquo", 8218},
210: {"ldquo", 8220},
211: {"rdquo", 8221},
212: {"bdquo", 8222},
213: {"dagger", 8224},
214: {"Dagger", 8225},
215: {"bull", 8226},
216: {"hellip", 8230},
217: {"permil", 8240},
218: {"prime", 8242},
219: {"Prime", 8243},
220: {"lsaquo", 8249},
221: {"rsaquo", 8250},
222: {"oline", 8254},
223: {"frasl", 8260},
224: {"euro", 8364},
225: {"weierp", 8472},
226: {"image", 8465},
227: {"real", 8476},
228: {"trade", 8482},
229: {"alefsym", 8501},
230: {"larr", 8592},
231: {"uarr", 8593},
232: {"rarr", 8594},
233: {"darr", 8595},
234: {"harr", 8596},
235: {"crarr", 8629},
236: {"lArr", 8656},
237: {"uArr", 8657},
238: {"rArr", 8658},
239: {"dArr", 8659},
240: {"hArr", 8660},
241: {"forall", 8704},
242: {"part", 8706},
243: {"exist", 8707},
244: {"empty", 8709},
245: {"nabla", 8711},
246: {"isin", 8712},
247: {"notin", 8713},
248: {"ni", 8715},
249: {"prod", 8719},
250: {"sum", 8721},
251: {"minus", 8722},
252: {"lowast", 8727},
253: {"radic", 8730},
254: {"prop", 8733},
255: {"infin", 8734},
256: {"ang", 8736},
257: {"and", 8743},
258: {"or", 8744},
259: {"cap", 8745},
260: {"cup", 8746},
261: {"int", 8747},
262: {"there4", 8756},
263: {"sim", 8764},
264: {"cong", 8773},
265: {"asymp", 8776},
266: {"ne", 8800},
267: {"equiv", 8801},
268: {"le", 8804},
269: {"ge", 8805},
270: {"sub", 8834},
271: {"sup", 8835},
272: {"nsub", 8836},
273: {"sube", 8838},
274: {"supe", 8839},
275: {"oplus", 8853},
276: {"otimes", 8855},
277: {"perp", 8869},
278: {"sdot", 8901},
279: {"lceil", 8968},
280: {"rceil", 8969},
281: {"lfloor", 8970},
282: {"rfloor", 8971},
283: {"lang", 9001},
284: {"rang", 9002},
285: {"loz", 9674},
286: {"spades", 9824},
287: {"clubs", 9827},
288: {"hearts", 9829},
289: {"diams", 9830},
290: {NULL, -1} /* mark end of table */
291: };
292:
293: /*
294: * Local variables:
295: * tab-width: 4
296: * c-basic-offset: 4
297: * End:
298: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>