[ Index ]

PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12)

title

Body

[close]

/include/inc_lib/ -> lib.php_special_entities.utf-8.php (source)

   1  <?php 
   2  /*************************************************************************************
   3     Copyright notice
   4  
   5     (c) 2002-2012 Oliver Georgi <oliver@phpwcms.de> // All rights reserved.
   6  
   7     This script is part of PHPWCMS. The PHPWCMS web content management system is
   8     free software; you can redistribute it and/or modify it under the terms of
   9     the GNU General Public License as published by the Free Software Foundation;
  10     either version 2 of the License, or (at your option) any later version.
  11  
  12     The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
  13     A copy is found in the textfile GPL.txt and important notices to the license
  14     from the author is found in LICENSE.txt distributed with these scripts.
  15  
  16     This script is distributed in the hope that it will be useful, but WITHOUT ANY
  17     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  18     PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  19  
  20     This copyright notice MUST APPEAR in all copies of the script!
  21  *************************************************************************************/
  22  
  23  // this is a html entities and its decode parameter
  24  // based on list at http://www.htmlhelp.com/reference/html40/entities/
  25  
  26  $SPECIAL_ENTITIES_TABLES['latin1_encode'] = array (
  27      "&nbsp;", 
  28      "&iexcl;", 
  29      "&cent;", 
  30      "&pound;", 
  31      "&curren;", 
  32      "&yen;", 
  33      "&brvbar;", 
  34      "&sect;", 
  35      "&uml;", 
  36      "&copy;", 
  37      "&ordf;", 
  38      "&laquo;", 
  39      "&not;", 
  40      "&shy;", 
  41      "&reg;", 
  42      "&macr;", 
  43      "&deg;", 
  44      "&plusmn;", 
  45      "&sup2;", 
  46      "&sup3;", 
  47      "&acute;", 
  48      "&micro;", 
  49      "&para;", 
  50      "&middot;", 
  51      "&cedil;", 
  52      "&sup1;", 
  53      "&ordm;", 
  54      "&raquo;", 
  55      "&frac14;", 
  56      "&frac12;", 
  57      "&frac34;", 
  58      "&iquest;", 
  59      "&Agrave;", 
  60      "&Aacute;", 
  61      "&Acirc;", 
  62      "&Atilde;", 
  63      "&Auml;", 
  64      "&Aring;", 
  65      "&AElig;", 
  66      "&Ccedil;", 
  67      "&Egrave;", 
  68      "&Eacute;", 
  69      "&Ecirc;", 
  70      "&Euml;", 
  71      "&Igrave;", 
  72      "&Iacute;", 
  73      "&Icirc;", 
  74      "&Iuml;", 
  75      "&ETH;", 
  76      "&Ntilde;", 
  77      "&Ograve;", 
  78      "&Oacute;", 
  79      "&Ocirc;", 
  80      "&Otilde;", 
  81      "&Ouml;", 
  82      "&times;", 
  83      "&Oslash;", 
  84      "&Ugrave;", 
  85      "&Uacute;", 
  86      "&Ucirc;", 
  87      "&Uuml;", 
  88      "&Yacute;", 
  89      "&THORN;", 
  90      "&szlig;", 
  91      "&agrave;", 
  92      "&aacute;", 
  93      "&acirc;", 
  94      "&atilde;", 
  95      "&auml;", 
  96      "&aring;", 
  97      "&aelig;", 
  98      "&ccedil;", 
  99      "&egrave;", 
 100      "&eacute;", 
 101      "&ecirc;", 
 102      "&euml;", 
 103      "&igrave;", 
 104      "&iacute;", 
 105      "&icirc;", 
 106      "&iuml;", 
 107      "&eth;", 
 108      "&ntilde;", 
 109      "&ograve;", 
 110      "&oacute;", 
 111      "&ocirc;", 
 112      "&otilde;", 
 113      "&ouml;", 
 114      "&divide;", 
 115      "&oslash;", 
 116      "&ugrave;", 
 117      "&uacute;", 
 118      "&ucirc;", 
 119      "&uuml;", 
 120      "&yacute;", 
 121      "&thorn;", 
 122      "&yuml;"
 123      );
 124  
 125  $SPECIAL_ENTITIES_TABLES['symbol_encode'] = array(
 126      "&fnof;", 
 127      "&Alpha;", 
 128      "&Beta;", 
 129      "&Gamma;", 
 130      "&Delta;", 
 131      "&Epsilon;", 
 132      "&Zeta;", 
 133      "&Eta;", 
 134      "&Theta;", 
 135      "&Iota;", 
 136      "&Kappa;", 
 137      "&Lambda;", 
 138      "&Mu;", 
 139      "&Nu;", 
 140      "&Xi;", 
 141      "&Omicron;", 
 142      "&Pi;", 
 143      "&Rho;", 
 144      "&Sigma;", 
 145      "&Tau;", 
 146      "&Upsilon;", 
 147      "&Phi;", 
 148      "&Chi;", 
 149      "&Psi;", 
 150      "&Omega;", 
 151      "&alpha;", 
 152      "&beta;", 
 153      "&gamma;", 
 154      "&delta;", 
 155      "&epsilon;", 
 156      "&zeta;", 
 157      "&eta;", 
 158      "&theta;", 
 159      "&iota;", 
 160      "&kappa;", 
 161      "&lambda;", 
 162      "&mu;", 
 163      "&nu;", 
 164      "&xi;", 
 165      "&omicron;", 
 166      "&pi;", 
 167      "&rho;", 
 168      "&sigmaf;", 
 169      "&sigma;", 
 170      "&tau;", 
 171      "&upsilon;", 
 172      "&phi;", 
 173      "&chi;", 
 174      "&psi;", 
 175      "&omega;", 
 176      "&thetasym;", 
 177      "&upsih;", 
 178      "&piv;", 
 179      "&bull;", 
 180      "&hellip;", 
 181      "&prime;", 
 182      "&Prime;", 
 183      "&oline;", 
 184      "&frasl;", 
 185      "&weierp;", 
 186      "&image;", 
 187      "&real;", 
 188      "&trade;", 
 189      "&alefsym;", 
 190      "&larr;", 
 191      "&uarr;", 
 192      "&rarr;", 
 193      "&darr;", 
 194      "&harr;", 
 195      "&crarr;", 
 196      "&lArr;", 
 197      "&uArr;", 
 198      "&rArr;", 
 199      "&dArr;", 
 200      "&hArr;", 
 201      "&forall;", 
 202      "&part;", 
 203      "&exist;", 
 204      "&empty;", 
 205      "&nabla;", 
 206      "&isin;", 
 207      "&notin;", 
 208      "&ni;", 
 209      "&prod;", 
 210      "&sum;", 
 211      "&minus;", 
 212      "&lowast;", 
 213      "&radic;", 
 214      "&prop;", 
 215      "&infin;", 
 216      "&ang;", 
 217      "&and;", 
 218      "&or;", 
 219      "&cap;", 
 220      "&cup;", 
 221      "&int;", 
 222      "&there4;", 
 223      "&sim;", 
 224      "&cong;", 
 225      "&asymp;", 
 226      "&ne;", 
 227      "&equiv;", 
 228      "&le;", 
 229      "&ge;", 
 230      "&sub;", 
 231      "&sup;", 
 232      "&nsub;", 
 233      "&sube;", 
 234      "&supe;", 
 235      "&oplus;", 
 236      "&otimes;", 
 237      "&perp;", 
 238      "&sdot;", 
 239      "&lceil;", 
 240      "&rceil;", 
 241      "&lfloor;", 
 242      "&rfloor;", 
 243      "&lang;", 
 244      "&rang;", 
 245      "&loz;", 
 246      "&spades;", 
 247      "&clubs;", 
 248      "&hearts;", 
 249      "&diams;"
 250      );
 251      
 252  $SPECIAL_ENTITIES_TABLES['specialchars_encode'] = array( 
 253      "&quot;", 
 254      "&amp;", 
 255      "&lt;", 
 256      "&gt;", 
 257      "&OElig;", 
 258      "&oelig;", 
 259      "&Scaron;", 
 260      "&scaron;", 
 261      "&Yuml;", 
 262      "&circ;", 
 263      "&tilde;", 
 264      "&ensp;", 
 265      "&emsp;", 
 266      "&thinsp;", 
 267      "&zwnj;", 
 268      "&zwj;", 
 269      "&lrm;", 
 270      "&rlm;", 
 271      "&ndash;", 
 272      "&mdash;", 
 273      "&lsquo;", 
 274      "&rsquo;", 
 275      "&sbquo;", 
 276      "&ldquo;", 
 277      "&rdquo;", 
 278      "&bdquo;", 
 279      "&dagger;", 
 280      "&Dagger;", 
 281      "&permil;", 
 282      "&lsaquo;", 
 283      "&rsaquo;", 
 284      "&euro;"
 285      );
 286          
 287  $SPECIAL_ENTITIES_TABLES['latin1_decode'] = array (
 288      " ", 
 289      "¡", 
 290      "¢", 
 291      "£", 
 292      "¤", 
 293      "¥", 
 294      "¦", 
 295      "§", 
 296      "¨", 
 297      "©", 
 298      "ª", 
 299      "«", 
 300      "¬", 
 301      "­", 
 302      "®", 
 303      "¯", 
 304      "°", 
 305      "±", 
 306      "²", 
 307      "³", 
 308      "´", 
 309      "µ", 
 310      "¶", 
 311      "·", 
 312      "¸", 
 313      "¹", 
 314      "º", 
 315      "»", 
 316      "¼", 
 317      "½", 
 318      "¾", 
 319      "¿", 
 320      "À", 
 321      "Á", 
 322      "Â", 
 323      "Ã", 
 324      "Ä", 
 325      "Å", 
 326      "Æ", 
 327      "Ç", 
 328      "È", 
 329      "É", 
 330      "Ê", 
 331      "Ë", 
 332      "Ì", 
 333      "Í", 
 334      "Î", 
 335      "Ï", 
 336      "Ð", 
 337      "Ñ", 
 338      "Ò", 
 339      "Ó", 
 340      "Ô", 
 341      "Õ", 
 342      "Ö", 
 343      "×", 
 344      "Ø", 
 345      "Ù", 
 346      "Ú", 
 347      "Û", 
 348      "Ü", 
 349      "Ý", 
 350      "Þ", 
 351      "ß", 
 352      "à", 
 353      "á", 
 354      "â", 
 355      "ã", 
 356      "ä", 
 357      "å", 
 358      "æ", 
 359      "ç", 
 360      "è", 
 361      "é", 
 362      "ê", 
 363      "ë", 
 364      "ì", 
 365      "í", 
 366      "î", 
 367      "ï", 
 368      "ð", 
 369      "ñ", 
 370      "ò", 
 371      "ó", 
 372      "ô", 
 373      "õ", 
 374      "ö", 
 375      "÷", 
 376      "ø", 
 377      "ù", 
 378      "ú", 
 379      "û", 
 380      "ü", 
 381      "ý", 
 382      "þ", 
 383      "ÿ"
 384      );
 385      
 386  $SPECIAL_ENTITIES_TABLES['symbol_decode'] = array(
 387      "&#402;", 
 388      "&#913;", 
 389      "&#914;", 
 390      "&#915;", 
 391      "&#916;", 
 392      "&#917;", 
 393      "&#918;", 
 394      "&#919;", 
 395      "&#920;", 
 396      "&#921;", 
 397      "&#922;", 
 398      "&#923;", 
 399      "&#924;", 
 400      "&#925;", 
 401      "&#926;", 
 402      "&#927;", 
 403      "&#928;", 
 404      "&#929;", 
 405      "&#931;", 
 406      "&#932;", 
 407      "&#933;", 
 408      "&#934;", 
 409      "&#935;", 
 410      "&#936;", 
 411      "&#937;", 
 412      "&#945;", 
 413      "&#946;", 
 414      "&#947;", 
 415      "&#948;", 
 416      "&#949;", 
 417      "&#950;", 
 418      "&#951;", 
 419      "&#952;", 
 420      "&#953;", 
 421      "&#954;", 
 422      "&#955;", 
 423      "&#956;", 
 424      "&#957;", 
 425      "&#958;", 
 426      "&#959;", 
 427      "&#960;", 
 428      "&#961;", 
 429      "&#962;", 
 430      "&#963;", 
 431      "&#964;", 
 432      "&#965;", 
 433      "&#966;", 
 434      "&#967;", 
 435      "&#968;", 
 436      "&#969;", 
 437      "&#977;", 
 438      "&#978;", 
 439      "&#982;", 
 440      "&#8226;", 
 441      "&#8230;", 
 442      "&#8242;", 
 443      "&#8243;", 
 444      "&#8254;", 
 445      "&#8260;", 
 446      "&#8472;", 
 447      "&#8465;", 
 448      "&#8476;", 
 449      "&#8482;", 
 450      "&#8501;", 
 451      "&#8592;", 
 452      "&#8593;", 
 453      "&#8594;", 
 454      "&#8595;", 
 455      "&#8596;", 
 456      "&#8629;", 
 457      "&#8656;", 
 458      "&#8657;", 
 459      "&#8658;", 
 460      "&#8659;", 
 461      "&#8660;", 
 462      "&#8704;", 
 463      "&#8706;", 
 464      "&#8707;", 
 465      "&#8709;", 
 466      "&#8711;", 
 467      "&#8712;", 
 468      "&#8713;", 
 469      "&#8715;", 
 470      "&#8719;", 
 471      "&#8721;", 
 472      "&#8722;", 
 473      "&#8727;", 
 474      "&#8730;", 
 475      "&#8733;", 
 476      "&#8734;", 
 477      "&#8736;", 
 478      "&#8743;", 
 479      "&#8744;", 
 480      "&#8745;", 
 481      "&#8746;", 
 482      "&#8747;", 
 483      "&#8756;", 
 484      "&#8764;", 
 485      "&#8773;", 
 486      "&#8776;", 
 487      "&#8800;", 
 488      "&#8801;", 
 489      "&#8804;", 
 490      "&#8805;", 
 491      "&#8834;", 
 492      "&#8835;", 
 493      "&#8836;", 
 494      "&#8838;", 
 495      "&#8839;", 
 496      "&#8853;", 
 497      "&#8855;", 
 498      "&#8869;", 
 499      "&#8901;", 
 500      "&#8968;", 
 501      "&#8969;", 
 502      "&#8970;", 
 503      "&#8971;", 
 504      "&#9001;", 
 505      "&#9002;", 
 506      "&#9674;", 
 507      "&#9824;", 
 508      "&#9827;", 
 509      "&#9829;", 
 510      "&#9830;"
 511      );
 512      
 513  $SPECIAL_ENTITIES_TABLES['specialchars_decode'] = array( 
 514      '"', 
 515      '&', 
 516      '<', 
 517      '>', 
 518      "&#338;", 
 519      "&#339;", 
 520      "&#352;", 
 521      "&#353;", 
 522      "&#376;", 
 523      "&#710;", 
 524      "&#732;", 
 525      "&#8194;", 
 526      "&#8195;", 
 527      "&#8201;", 
 528      "&#8204;", 
 529      "&#8205;", 
 530      "&#8206;", 
 531      "&#8207;", 
 532      "&#8211;", 
 533      "&#8212;", 
 534      "&#8216;", 
 535      "&#8217;", 
 536      "&#8218;", 
 537      "&#8220;", 
 538      "&#8221;", 
 539      "&#8222;", 
 540      "&#8224;", 
 541      "&#8225;", 
 542      "&#8240;", 
 543      "&#8249;", 
 544      "&#8250;", 
 545      "&#8364;"
 546      );
 547      
 548  ?>


Generated: Sun Jan 29 16:31:14 2012 Cross-referenced by PHPXref 0.7.1