Back to index

php5  5.3.10
html_entities.c
Go to the documentation of this file.
00001 /*
00002  * "streamable kanji code filter and converter"
00003  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
00004  *
00005  * LICENSE NOTICES
00006  *
00007  * This file is part of "streamable kanji code filter and converter",
00008  * which is distributed under the terms of GNU Lesser General Public 
00009  * License (version 2) as published by the Free Software Foundation.
00010  *
00011  * This software is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with "streamable kanji code filter and converter";
00018  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
00019  * Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  * The author of this part: Marcus Boerger <helly@php.net>
00022  *
00023  */
00024 /*
00025  * The source code included in this files was separated from mbfilter.c
00026  * by moriyoshi koizumi <moriyoshi@php.net> on 4 dec 2002.
00027  * 
00028  */
00029 
00030 #ifdef HAVE_CONFIG_H
00031 #include "config.h"
00032 #endif
00033 
00034 #include "mbfilter.h"
00035 #include "html_entities.h"
00036 
00037 const mbfl_html_entity_entry mbfl_html_entity_list[] = {
00038   {"quot",       34},
00039   {"amp",        38},
00040   {"lt",         60},
00041   {"gt",         62},
00042   {"nbsp",      160},
00043   {"iexcl",     161},
00044   {"cent",      162},
00045   {"pound",     163},
00046   {"curren",    164},
00047   {"yen",       165},
00048   {"brvbar",    166},
00049   {"sect",      167},
00050   {"uml",       168},
00051   {"copy",      169},
00052   {"ordf",      170},
00053   {"laquo",     171},
00054   {"not",       172},
00055   {"shy",       173},
00056   {"reg",       174},
00057   {"macr",      175},
00058   {"deg",       176},
00059   {"plusmn",    177},
00060   {"sup2",      178},
00061   {"sup3",      179},
00062   {"acute",     180},
00063   {"micro",     181},
00064   {"para",      182},
00065   {"middot",    183},
00066   {"cedil",     184},
00067   {"sup1",      185},
00068   {"ordm",      186},
00069   {"raquo",     187},
00070   {"frac14",    188},
00071   {"frac12",    189},
00072   {"frac34",    190},
00073   {"iquest",    191},
00074   {"Agrave",    192},
00075   {"Aacute",    193},
00076   {"Acirc",     194},
00077   {"Atilde",    195},
00078   {"Auml",      196},
00079   {"Aring",     197},
00080   {"AElig",     198},
00081   {"Ccedil",    199},
00082   {"Egrave",    200},
00083   {"Eacute",    201},
00084   {"Ecirc",     202},
00085   {"Euml",      203},
00086   {"Igrave",    204},
00087   {"Iacute",    205},
00088   {"Icirc",     206},
00089   {"Iuml",      207},
00090   {"ETH",       208},
00091   {"Ntilde",    209},
00092   {"Ograve",    210},
00093   {"Oacute",    211},
00094   {"Ocirc",     212},
00095   {"Otilde",    213},
00096   {"Ouml",      214},
00097   {"times",     215},
00098   {"Oslash",    216},
00099   {"Ugrave",    217},
00100   {"Uacute",    218},
00101   {"Ucirc",     219},
00102   {"Uuml",      220},
00103   {"Yacute",    221},
00104   {"THORN",     222},
00105   {"szlig",     223},
00106   {"agrave",    224},
00107   {"aacute",    225},
00108   {"acirc",     226},
00109   {"atilde",    227},
00110   {"auml",      228},
00111   {"aring",     229},
00112   {"aelig",     230},
00113   {"ccedil",    231},
00114   {"egrave",    232},
00115   {"eacute",    233},
00116   {"ecirc",     234},
00117   {"euml",      235},
00118   {"igrave",    236},
00119   {"iacute",    237},
00120   {"icirc",     238},
00121   {"iuml",      239},
00122   {"eth",       240},
00123   {"ntilde",    241},
00124   {"ograve",    242},
00125   {"oacute",    243},
00126   {"ocirc",     244},
00127   {"otilde",    245},
00128   {"ouml",      246},
00129   {"divide",    247},
00130   {"oslash",    248},
00131   {"ugrave",    249},
00132   {"uacute",    250},
00133   {"ucirc",     251},
00134   {"uuml",      252},
00135   {"yacute",    253},
00136   {"thorn",     254},
00137   {"yuml",      255},
00138   {"OElig",     338},
00139   {"oelig",     339},
00140   {"Scaron",    352},
00141   {"scaron",    353},
00142   {"Yuml",      376},
00143   {"fnof",      402},
00144   {"circ",      710},
00145   {"tilde",     732},
00146   {"Alpha",     913},
00147   {"Beta",      914},
00148   {"Gamma",     915},
00149   {"Delta",     916},
00150   {"Epsilon",   917},
00151   {"Zeta",      918},
00152   {"Eta",       919},
00153   {"Theta",     920},
00154   {"Iota",      921},
00155   {"Kappa",     922},
00156   {"Lambda",    923},
00157   {"Mu",        924},
00158   {"Nu",        925},
00159   {"Xi",        926},
00160   {"Omicron",   927},
00161   {"Pi",        928},
00162   {"Rho",       929},
00163   {"Sigma",     931},
00164   {"Tau",       932},
00165   {"Upsilon",   933},
00166   {"Phi",       934},
00167   {"Chi",       935},
00168   {"Psi",       936},
00169   {"Omega",     937},
00170   {"alpha",     945},
00171   {"beta",      946},
00172   {"gamma",     947},
00173   {"delta",     948},
00174   {"epsilon",   949},
00175   {"zeta",      950},
00176   {"eta",       951},
00177   {"theta",     952},
00178   {"iota",      953},
00179   {"kappa",     954},
00180   {"lambda",    955},
00181   {"mu",        956},
00182   {"nu",        957},
00183   {"xi",        958},
00184   {"omicron",   959},
00185   {"pi",        960},
00186   {"rho",       961},
00187   {"sigmaf",    962},
00188   {"sigma",     963},
00189   {"tau",       964},
00190   {"upsilon",   965},
00191   {"phi",       966},
00192   {"chi",       967},
00193   {"psi",       968},
00194   {"omega",     969},
00195   {"thetasym",  977},
00196   {"upsih",     978},
00197   {"piv",       982},
00198   {"ensp",     8194},
00199   {"emsp",     8195},
00200   {"thinsp",   8201},
00201   {"zwnj",     8204},
00202   {"zwj",      8205},
00203   {"lrm",      8206},
00204   {"rlm",      8207},
00205   {"ndash",    8211},
00206   {"mdash",    8212},
00207   {"lsquo",    8216},
00208   {"rsquo",    8217},
00209   {"sbquo",    8218},
00210   {"ldquo",    8220},
00211   {"rdquo",    8221},
00212   {"bdquo",    8222},
00213   {"dagger",   8224},
00214   {"Dagger",   8225},
00215   {"bull",     8226},
00216   {"hellip",   8230},
00217   {"permil",   8240},
00218   {"prime",    8242},
00219   {"Prime",    8243},
00220   {"lsaquo",   8249},
00221   {"rsaquo",   8250},
00222   {"oline",    8254},
00223   {"frasl",    8260},
00224   {"euro",     8364},
00225   {"weierp",   8472},
00226   {"image",    8465},
00227   {"real",     8476},
00228   {"trade",    8482},
00229   {"alefsym",  8501},
00230   {"larr",     8592},
00231   {"uarr",     8593},
00232   {"rarr",     8594},
00233   {"darr",     8595},
00234   {"harr",     8596},
00235   {"crarr",    8629},
00236   {"lArr",     8656},
00237   {"uArr",     8657},
00238   {"rArr",     8658},
00239   {"dArr",     8659},
00240   {"hArr",     8660},
00241   {"forall",   8704},
00242   {"part",     8706},
00243   {"exist",    8707},
00244   {"empty",    8709},
00245   {"nabla",    8711},
00246   {"isin",     8712},
00247   {"notin",    8713},
00248   {"ni",       8715},
00249   {"prod",     8719},
00250   {"sum",      8721},
00251   {"minus",    8722},
00252   {"lowast",   8727},
00253   {"radic",    8730},
00254   {"prop",     8733},
00255   {"infin",    8734},
00256   {"ang",      8736},
00257   {"and",      8743},
00258   {"or",       8744},
00259   {"cap",      8745},
00260   {"cup",      8746},
00261   {"int",      8747},
00262   {"there4",   8756},
00263   {"sim",      8764},
00264   {"cong",     8773},
00265   {"asymp",    8776},
00266   {"ne",       8800},
00267   {"equiv",    8801},
00268   {"le",       8804},
00269   {"ge",       8805},
00270   {"sub",      8834},
00271   {"sup",      8835},
00272   {"nsub",     8836},
00273   {"sube",     8838},
00274   {"supe",     8839},
00275   {"oplus",    8853},
00276   {"otimes",   8855},
00277   {"perp",     8869},
00278   {"sdot",     8901},
00279   {"lceil",    8968},
00280   {"rceil",    8969},
00281   {"lfloor",   8970},
00282   {"rfloor",   8971},
00283   {"lang",     9001},
00284   {"rang",     9002},
00285   {"loz",      9674},
00286   {"spades",   9824},
00287   {"clubs",    9827},
00288   {"hearts",   9829},
00289   {"diams",    9830},
00290   {NULL,         -1}  /* mark end of table */
00291 };
00292 
00293 /*
00294  * Local variables:
00295  * tab-width: 4
00296  * c-basic-offset: 4
00297  * End:
00298  */