Edit File by line
/home/barbar84/public_h.../wp-inclu.../SimplePi.../Decode/HTML
File: Entities.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* SimplePie
[2] Fix | Delete
*
[3] Fix | Delete
* A PHP-Based RSS and Atom Feed Framework.
[4] Fix | Delete
* Takes the hard work out of managing a complete RSS/Atom solution.
[5] Fix | Delete
*
[6] Fix | Delete
* Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
[7] Fix | Delete
* All rights reserved.
[8] Fix | Delete
*
[9] Fix | Delete
* Redistribution and use in source and binary forms, with or without modification, are
[10] Fix | Delete
* permitted provided that the following conditions are met:
[11] Fix | Delete
*
[12] Fix | Delete
* * Redistributions of source code must retain the above copyright notice, this list of
[13] Fix | Delete
* conditions and the following disclaimer.
[14] Fix | Delete
*
[15] Fix | Delete
* * Redistributions in binary form must reproduce the above copyright notice, this list
[16] Fix | Delete
* of conditions and the following disclaimer in the documentation and/or other materials
[17] Fix | Delete
* provided with the distribution.
[18] Fix | Delete
*
[19] Fix | Delete
* * Neither the name of the SimplePie Team nor the names of its contributors may be used
[20] Fix | Delete
* to endorse or promote products derived from this software without specific prior
[21] Fix | Delete
* written permission.
[22] Fix | Delete
*
[23] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
[24] Fix | Delete
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
[25] Fix | Delete
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
[26] Fix | Delete
* AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
[27] Fix | Delete
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
[28] Fix | Delete
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
[29] Fix | Delete
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
[30] Fix | Delete
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
[31] Fix | Delete
* POSSIBILITY OF SUCH DAMAGE.
[32] Fix | Delete
*
[33] Fix | Delete
* @package SimplePie
[34] Fix | Delete
* @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
[35] Fix | Delete
* @author Ryan Parman
[36] Fix | Delete
* @author Sam Sneddon
[37] Fix | Delete
* @author Ryan McCue
[38] Fix | Delete
* @link http://simplepie.org/ SimplePie
[39] Fix | Delete
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
[40] Fix | Delete
*/
[41] Fix | Delete
[42] Fix | Delete
[43] Fix | Delete
/**
[44] Fix | Delete
* Decode HTML Entities
[45] Fix | Delete
*
[46] Fix | Delete
* This implements HTML5 as of revision 967 (2007-06-28)
[47] Fix | Delete
*
[48] Fix | Delete
* @deprecated Use DOMDocument instead!
[49] Fix | Delete
* @package SimplePie
[50] Fix | Delete
*/
[51] Fix | Delete
class SimplePie_Decode_HTML_Entities
[52] Fix | Delete
{
[53] Fix | Delete
/**
[54] Fix | Delete
* Data to be parsed
[55] Fix | Delete
*
[56] Fix | Delete
* @access private
[57] Fix | Delete
* @var string
[58] Fix | Delete
*/
[59] Fix | Delete
var $data = '';
[60] Fix | Delete
[61] Fix | Delete
/**
[62] Fix | Delete
* Currently consumed bytes
[63] Fix | Delete
*
[64] Fix | Delete
* @access private
[65] Fix | Delete
* @var string
[66] Fix | Delete
*/
[67] Fix | Delete
var $consumed = '';
[68] Fix | Delete
[69] Fix | Delete
/**
[70] Fix | Delete
* Position of the current byte being parsed
[71] Fix | Delete
*
[72] Fix | Delete
* @access private
[73] Fix | Delete
* @var int
[74] Fix | Delete
*/
[75] Fix | Delete
var $position = 0;
[76] Fix | Delete
[77] Fix | Delete
/**
[78] Fix | Delete
* Create an instance of the class with the input data
[79] Fix | Delete
*
[80] Fix | Delete
* @access public
[81] Fix | Delete
* @param string $data Input data
[82] Fix | Delete
*/
[83] Fix | Delete
public function __construct($data)
[84] Fix | Delete
{
[85] Fix | Delete
$this->data = $data;
[86] Fix | Delete
}
[87] Fix | Delete
[88] Fix | Delete
/**
[89] Fix | Delete
* Parse the input data
[90] Fix | Delete
*
[91] Fix | Delete
* @access public
[92] Fix | Delete
* @return string Output data
[93] Fix | Delete
*/
[94] Fix | Delete
public function parse()
[95] Fix | Delete
{
[96] Fix | Delete
while (($this->position = strpos($this->data, '&', $this->position)) !== false)
[97] Fix | Delete
{
[98] Fix | Delete
$this->consume();
[99] Fix | Delete
$this->entity();
[100] Fix | Delete
$this->consumed = '';
[101] Fix | Delete
}
[102] Fix | Delete
return $this->data;
[103] Fix | Delete
}
[104] Fix | Delete
[105] Fix | Delete
/**
[106] Fix | Delete
* Consume the next byte
[107] Fix | Delete
*
[108] Fix | Delete
* @access private
[109] Fix | Delete
* @return mixed The next byte, or false, if there is no more data
[110] Fix | Delete
*/
[111] Fix | Delete
public function consume()
[112] Fix | Delete
{
[113] Fix | Delete
if (isset($this->data[$this->position]))
[114] Fix | Delete
{
[115] Fix | Delete
$this->consumed .= $this->data[$this->position];
[116] Fix | Delete
return $this->data[$this->position++];
[117] Fix | Delete
}
[118] Fix | Delete
[119] Fix | Delete
return false;
[120] Fix | Delete
}
[121] Fix | Delete
[122] Fix | Delete
/**
[123] Fix | Delete
* Consume a range of characters
[124] Fix | Delete
*
[125] Fix | Delete
* @access private
[126] Fix | Delete
* @param string $chars Characters to consume
[127] Fix | Delete
* @return mixed A series of characters that match the range, or false
[128] Fix | Delete
*/
[129] Fix | Delete
public function consume_range($chars)
[130] Fix | Delete
{
[131] Fix | Delete
if ($len = strspn($this->data, $chars, $this->position))
[132] Fix | Delete
{
[133] Fix | Delete
$data = substr($this->data, $this->position, $len);
[134] Fix | Delete
$this->consumed .= $data;
[135] Fix | Delete
$this->position += $len;
[136] Fix | Delete
return $data;
[137] Fix | Delete
}
[138] Fix | Delete
[139] Fix | Delete
return false;
[140] Fix | Delete
}
[141] Fix | Delete
[142] Fix | Delete
/**
[143] Fix | Delete
* Unconsume one byte
[144] Fix | Delete
*
[145] Fix | Delete
* @access private
[146] Fix | Delete
*/
[147] Fix | Delete
public function unconsume()
[148] Fix | Delete
{
[149] Fix | Delete
$this->consumed = substr($this->consumed, 0, -1);
[150] Fix | Delete
$this->position--;
[151] Fix | Delete
}
[152] Fix | Delete
[153] Fix | Delete
/**
[154] Fix | Delete
* Decode an entity
[155] Fix | Delete
*
[156] Fix | Delete
* @access private
[157] Fix | Delete
*/
[158] Fix | Delete
public function entity()
[159] Fix | Delete
{
[160] Fix | Delete
switch ($this->consume())
[161] Fix | Delete
{
[162] Fix | Delete
case "\x09":
[163] Fix | Delete
case "\x0A":
[164] Fix | Delete
case "\x0B":
[165] Fix | Delete
case "\x0C":
[166] Fix | Delete
case "\x20":
[167] Fix | Delete
case "\x3C":
[168] Fix | Delete
case "\x26":
[169] Fix | Delete
case false:
[170] Fix | Delete
break;
[171] Fix | Delete
[172] Fix | Delete
case "\x23":
[173] Fix | Delete
switch ($this->consume())
[174] Fix | Delete
{
[175] Fix | Delete
case "\x78":
[176] Fix | Delete
case "\x58":
[177] Fix | Delete
$range = '0123456789ABCDEFabcdef';
[178] Fix | Delete
$hex = true;
[179] Fix | Delete
break;
[180] Fix | Delete
[181] Fix | Delete
default:
[182] Fix | Delete
$range = '0123456789';
[183] Fix | Delete
$hex = false;
[184] Fix | Delete
$this->unconsume();
[185] Fix | Delete
break;
[186] Fix | Delete
}
[187] Fix | Delete
[188] Fix | Delete
if ($codepoint = $this->consume_range($range))
[189] Fix | Delete
{
[190] Fix | Delete
static $windows_1252_specials = array(0x0D => "\x0A", 0x80 => "\xE2\x82\xAC", 0x81 => "\xEF\xBF\xBD", 0x82 => "\xE2\x80\x9A", 0x83 => "\xC6\x92", 0x84 => "\xE2\x80\x9E", 0x85 => "\xE2\x80\xA6", 0x86 => "\xE2\x80\xA0", 0x87 => "\xE2\x80\xA1", 0x88 => "\xCB\x86", 0x89 => "\xE2\x80\xB0", 0x8A => "\xC5\xA0", 0x8B => "\xE2\x80\xB9", 0x8C => "\xC5\x92", 0x8D => "\xEF\xBF\xBD", 0x8E => "\xC5\xBD", 0x8F => "\xEF\xBF\xBD", 0x90 => "\xEF\xBF\xBD", 0x91 => "\xE2\x80\x98", 0x92 => "\xE2\x80\x99", 0x93 => "\xE2\x80\x9C", 0x94 => "\xE2\x80\x9D", 0x95 => "\xE2\x80\xA2", 0x96 => "\xE2\x80\x93", 0x97 => "\xE2\x80\x94", 0x98 => "\xCB\x9C", 0x99 => "\xE2\x84\xA2", 0x9A => "\xC5\xA1", 0x9B => "\xE2\x80\xBA", 0x9C => "\xC5\x93", 0x9D => "\xEF\xBF\xBD", 0x9E => "\xC5\xBE", 0x9F => "\xC5\xB8");
[191] Fix | Delete
[192] Fix | Delete
if ($hex)
[193] Fix | Delete
{
[194] Fix | Delete
$codepoint = hexdec($codepoint);
[195] Fix | Delete
}
[196] Fix | Delete
else
[197] Fix | Delete
{
[198] Fix | Delete
$codepoint = intval($codepoint);
[199] Fix | Delete
}
[200] Fix | Delete
[201] Fix | Delete
if (isset($windows_1252_specials[$codepoint]))
[202] Fix | Delete
{
[203] Fix | Delete
$replacement = $windows_1252_specials[$codepoint];
[204] Fix | Delete
}
[205] Fix | Delete
else
[206] Fix | Delete
{
[207] Fix | Delete
$replacement = SimplePie_Misc::codepoint_to_utf8($codepoint);
[208] Fix | Delete
}
[209] Fix | Delete
[210] Fix | Delete
if (!in_array($this->consume(), array(';', false), true))
[211] Fix | Delete
{
[212] Fix | Delete
$this->unconsume();
[213] Fix | Delete
}
[214] Fix | Delete
[215] Fix | Delete
$consumed_length = strlen($this->consumed);
[216] Fix | Delete
$this->data = substr_replace($this->data, $replacement, $this->position - $consumed_length, $consumed_length);
[217] Fix | Delete
$this->position += strlen($replacement) - $consumed_length;
[218] Fix | Delete
}
[219] Fix | Delete
break;
[220] Fix | Delete
[221] Fix | Delete
default:
[222] Fix | Delete
static $entities = array(
[223] Fix | Delete
'Aacute' => "\xC3\x81",
[224] Fix | Delete
'aacute' => "\xC3\xA1",
[225] Fix | Delete
'Aacute;' => "\xC3\x81",
[226] Fix | Delete
'aacute;' => "\xC3\xA1",
[227] Fix | Delete
'Acirc' => "\xC3\x82",
[228] Fix | Delete
'acirc' => "\xC3\xA2",
[229] Fix | Delete
'Acirc;' => "\xC3\x82",
[230] Fix | Delete
'acirc;' => "\xC3\xA2",
[231] Fix | Delete
'acute' => "\xC2\xB4",
[232] Fix | Delete
'acute;' => "\xC2\xB4",
[233] Fix | Delete
'AElig' => "\xC3\x86",
[234] Fix | Delete
'aelig' => "\xC3\xA6",
[235] Fix | Delete
'AElig;' => "\xC3\x86",
[236] Fix | Delete
'aelig;' => "\xC3\xA6",
[237] Fix | Delete
'Agrave' => "\xC3\x80",
[238] Fix | Delete
'agrave' => "\xC3\xA0",
[239] Fix | Delete
'Agrave;' => "\xC3\x80",
[240] Fix | Delete
'agrave;' => "\xC3\xA0",
[241] Fix | Delete
'alefsym;' => "\xE2\x84\xB5",
[242] Fix | Delete
'Alpha;' => "\xCE\x91",
[243] Fix | Delete
'alpha;' => "\xCE\xB1",
[244] Fix | Delete
'AMP' => "\x26",
[245] Fix | Delete
'amp' => "\x26",
[246] Fix | Delete
'AMP;' => "\x26",
[247] Fix | Delete
'amp;' => "\x26",
[248] Fix | Delete
'and;' => "\xE2\x88\xA7",
[249] Fix | Delete
'ang;' => "\xE2\x88\xA0",
[250] Fix | Delete
'apos;' => "\x27",
[251] Fix | Delete
'Aring' => "\xC3\x85",
[252] Fix | Delete
'aring' => "\xC3\xA5",
[253] Fix | Delete
'Aring;' => "\xC3\x85",
[254] Fix | Delete
'aring;' => "\xC3\xA5",
[255] Fix | Delete
'asymp;' => "\xE2\x89\x88",
[256] Fix | Delete
'Atilde' => "\xC3\x83",
[257] Fix | Delete
'atilde' => "\xC3\xA3",
[258] Fix | Delete
'Atilde;' => "\xC3\x83",
[259] Fix | Delete
'atilde;' => "\xC3\xA3",
[260] Fix | Delete
'Auml' => "\xC3\x84",
[261] Fix | Delete
'auml' => "\xC3\xA4",
[262] Fix | Delete
'Auml;' => "\xC3\x84",
[263] Fix | Delete
'auml;' => "\xC3\xA4",
[264] Fix | Delete
'bdquo;' => "\xE2\x80\x9E",
[265] Fix | Delete
'Beta;' => "\xCE\x92",
[266] Fix | Delete
'beta;' => "\xCE\xB2",
[267] Fix | Delete
'brvbar' => "\xC2\xA6",
[268] Fix | Delete
'brvbar;' => "\xC2\xA6",
[269] Fix | Delete
'bull;' => "\xE2\x80\xA2",
[270] Fix | Delete
'cap;' => "\xE2\x88\xA9",
[271] Fix | Delete
'Ccedil' => "\xC3\x87",
[272] Fix | Delete
'ccedil' => "\xC3\xA7",
[273] Fix | Delete
'Ccedil;' => "\xC3\x87",
[274] Fix | Delete
'ccedil;' => "\xC3\xA7",
[275] Fix | Delete
'cedil' => "\xC2\xB8",
[276] Fix | Delete
'cedil;' => "\xC2\xB8",
[277] Fix | Delete
'cent' => "\xC2\xA2",
[278] Fix | Delete
'cent;' => "\xC2\xA2",
[279] Fix | Delete
'Chi;' => "\xCE\xA7",
[280] Fix | Delete
'chi;' => "\xCF\x87",
[281] Fix | Delete
'circ;' => "\xCB\x86",
[282] Fix | Delete
'clubs;' => "\xE2\x99\xA3",
[283] Fix | Delete
'cong;' => "\xE2\x89\x85",
[284] Fix | Delete
'COPY' => "\xC2\xA9",
[285] Fix | Delete
'copy' => "\xC2\xA9",
[286] Fix | Delete
'COPY;' => "\xC2\xA9",
[287] Fix | Delete
'copy;' => "\xC2\xA9",
[288] Fix | Delete
'crarr;' => "\xE2\x86\xB5",
[289] Fix | Delete
'cup;' => "\xE2\x88\xAA",
[290] Fix | Delete
'curren' => "\xC2\xA4",
[291] Fix | Delete
'curren;' => "\xC2\xA4",
[292] Fix | Delete
'Dagger;' => "\xE2\x80\xA1",
[293] Fix | Delete
'dagger;' => "\xE2\x80\xA0",
[294] Fix | Delete
'dArr;' => "\xE2\x87\x93",
[295] Fix | Delete
'darr;' => "\xE2\x86\x93",
[296] Fix | Delete
'deg' => "\xC2\xB0",
[297] Fix | Delete
'deg;' => "\xC2\xB0",
[298] Fix | Delete
'Delta;' => "\xCE\x94",
[299] Fix | Delete
'delta;' => "\xCE\xB4",
[300] Fix | Delete
'diams;' => "\xE2\x99\xA6",
[301] Fix | Delete
'divide' => "\xC3\xB7",
[302] Fix | Delete
'divide;' => "\xC3\xB7",
[303] Fix | Delete
'Eacute' => "\xC3\x89",
[304] Fix | Delete
'eacute' => "\xC3\xA9",
[305] Fix | Delete
'Eacute;' => "\xC3\x89",
[306] Fix | Delete
'eacute;' => "\xC3\xA9",
[307] Fix | Delete
'Ecirc' => "\xC3\x8A",
[308] Fix | Delete
'ecirc' => "\xC3\xAA",
[309] Fix | Delete
'Ecirc;' => "\xC3\x8A",
[310] Fix | Delete
'ecirc;' => "\xC3\xAA",
[311] Fix | Delete
'Egrave' => "\xC3\x88",
[312] Fix | Delete
'egrave' => "\xC3\xA8",
[313] Fix | Delete
'Egrave;' => "\xC3\x88",
[314] Fix | Delete
'egrave;' => "\xC3\xA8",
[315] Fix | Delete
'empty;' => "\xE2\x88\x85",
[316] Fix | Delete
'emsp;' => "\xE2\x80\x83",
[317] Fix | Delete
'ensp;' => "\xE2\x80\x82",
[318] Fix | Delete
'Epsilon;' => "\xCE\x95",
[319] Fix | Delete
'epsilon;' => "\xCE\xB5",
[320] Fix | Delete
'equiv;' => "\xE2\x89\xA1",
[321] Fix | Delete
'Eta;' => "\xCE\x97",
[322] Fix | Delete
'eta;' => "\xCE\xB7",
[323] Fix | Delete
'ETH' => "\xC3\x90",
[324] Fix | Delete
'eth' => "\xC3\xB0",
[325] Fix | Delete
'ETH;' => "\xC3\x90",
[326] Fix | Delete
'eth;' => "\xC3\xB0",
[327] Fix | Delete
'Euml' => "\xC3\x8B",
[328] Fix | Delete
'euml' => "\xC3\xAB",
[329] Fix | Delete
'Euml;' => "\xC3\x8B",
[330] Fix | Delete
'euml;' => "\xC3\xAB",
[331] Fix | Delete
'euro;' => "\xE2\x82\xAC",
[332] Fix | Delete
'exist;' => "\xE2\x88\x83",
[333] Fix | Delete
'fnof;' => "\xC6\x92",
[334] Fix | Delete
'forall;' => "\xE2\x88\x80",
[335] Fix | Delete
'frac12' => "\xC2\xBD",
[336] Fix | Delete
'frac12;' => "\xC2\xBD",
[337] Fix | Delete
'frac14' => "\xC2\xBC",
[338] Fix | Delete
'frac14;' => "\xC2\xBC",
[339] Fix | Delete
'frac34' => "\xC2\xBE",
[340] Fix | Delete
'frac34;' => "\xC2\xBE",
[341] Fix | Delete
'frasl;' => "\xE2\x81\x84",
[342] Fix | Delete
'Gamma;' => "\xCE\x93",
[343] Fix | Delete
'gamma;' => "\xCE\xB3",
[344] Fix | Delete
'ge;' => "\xE2\x89\xA5",
[345] Fix | Delete
'GT' => "\x3E",
[346] Fix | Delete
'gt' => "\x3E",
[347] Fix | Delete
'GT;' => "\x3E",
[348] Fix | Delete
'gt;' => "\x3E",
[349] Fix | Delete
'hArr;' => "\xE2\x87\x94",
[350] Fix | Delete
'harr;' => "\xE2\x86\x94",
[351] Fix | Delete
'hearts;' => "\xE2\x99\xA5",
[352] Fix | Delete
'hellip;' => "\xE2\x80\xA6",
[353] Fix | Delete
'Iacute' => "\xC3\x8D",
[354] Fix | Delete
'iacute' => "\xC3\xAD",
[355] Fix | Delete
'Iacute;' => "\xC3\x8D",
[356] Fix | Delete
'iacute;' => "\xC3\xAD",
[357] Fix | Delete
'Icirc' => "\xC3\x8E",
[358] Fix | Delete
'icirc' => "\xC3\xAE",
[359] Fix | Delete
'Icirc;' => "\xC3\x8E",
[360] Fix | Delete
'icirc;' => "\xC3\xAE",
[361] Fix | Delete
'iexcl' => "\xC2\xA1",
[362] Fix | Delete
'iexcl;' => "\xC2\xA1",
[363] Fix | Delete
'Igrave' => "\xC3\x8C",
[364] Fix | Delete
'igrave' => "\xC3\xAC",
[365] Fix | Delete
'Igrave;' => "\xC3\x8C",
[366] Fix | Delete
'igrave;' => "\xC3\xAC",
[367] Fix | Delete
'image;' => "\xE2\x84\x91",
[368] Fix | Delete
'infin;' => "\xE2\x88\x9E",
[369] Fix | Delete
'int;' => "\xE2\x88\xAB",
[370] Fix | Delete
'Iota;' => "\xCE\x99",
[371] Fix | Delete
'iota;' => "\xCE\xB9",
[372] Fix | Delete
'iquest' => "\xC2\xBF",
[373] Fix | Delete
'iquest;' => "\xC2\xBF",
[374] Fix | Delete
'isin;' => "\xE2\x88\x88",
[375] Fix | Delete
'Iuml' => "\xC3\x8F",
[376] Fix | Delete
'iuml' => "\xC3\xAF",
[377] Fix | Delete
'Iuml;' => "\xC3\x8F",
[378] Fix | Delete
'iuml;' => "\xC3\xAF",
[379] Fix | Delete
'Kappa;' => "\xCE\x9A",
[380] Fix | Delete
'kappa;' => "\xCE\xBA",
[381] Fix | Delete
'Lambda;' => "\xCE\x9B",
[382] Fix | Delete
'lambda;' => "\xCE\xBB",
[383] Fix | Delete
'lang;' => "\xE3\x80\x88",
[384] Fix | Delete
'laquo' => "\xC2\xAB",
[385] Fix | Delete
'laquo;' => "\xC2\xAB",
[386] Fix | Delete
'lArr;' => "\xE2\x87\x90",
[387] Fix | Delete
'larr;' => "\xE2\x86\x90",
[388] Fix | Delete
'lceil;' => "\xE2\x8C\x88",
[389] Fix | Delete
'ldquo;' => "\xE2\x80\x9C",
[390] Fix | Delete
'le;' => "\xE2\x89\xA4",
[391] Fix | Delete
'lfloor;' => "\xE2\x8C\x8A",
[392] Fix | Delete
'lowast;' => "\xE2\x88\x97",
[393] Fix | Delete
'loz;' => "\xE2\x97\x8A",
[394] Fix | Delete
'lrm;' => "\xE2\x80\x8E",
[395] Fix | Delete
'lsaquo;' => "\xE2\x80\xB9",
[396] Fix | Delete
'lsquo;' => "\xE2\x80\x98",
[397] Fix | Delete
'LT' => "\x3C",
[398] Fix | Delete
'lt' => "\x3C",
[399] Fix | Delete
'LT;' => "\x3C",
[400] Fix | Delete
'lt;' => "\x3C",
[401] Fix | Delete
'macr' => "\xC2\xAF",
[402] Fix | Delete
'macr;' => "\xC2\xAF",
[403] Fix | Delete
'mdash;' => "\xE2\x80\x94",
[404] Fix | Delete
'micro' => "\xC2\xB5",
[405] Fix | Delete
'micro;' => "\xC2\xB5",
[406] Fix | Delete
'middot' => "\xC2\xB7",
[407] Fix | Delete
'middot;' => "\xC2\xB7",
[408] Fix | Delete
'minus;' => "\xE2\x88\x92",
[409] Fix | Delete
'Mu;' => "\xCE\x9C",
[410] Fix | Delete
'mu;' => "\xCE\xBC",
[411] Fix | Delete
'nabla;' => "\xE2\x88\x87",
[412] Fix | Delete
'nbsp' => "\xC2\xA0",
[413] Fix | Delete
'nbsp;' => "\xC2\xA0",
[414] Fix | Delete
'ndash;' => "\xE2\x80\x93",
[415] Fix | Delete
'ne;' => "\xE2\x89\xA0",
[416] Fix | Delete
'ni;' => "\xE2\x88\x8B",
[417] Fix | Delete
'not' => "\xC2\xAC",
[418] Fix | Delete
'not;' => "\xC2\xAC",
[419] Fix | Delete
'notin;' => "\xE2\x88\x89",
[420] Fix | Delete
'nsub;' => "\xE2\x8A\x84",
[421] Fix | Delete
'Ntilde' => "\xC3\x91",
[422] Fix | Delete
'ntilde' => "\xC3\xB1",
[423] Fix | Delete
'Ntilde;' => "\xC3\x91",
[424] Fix | Delete
'ntilde;' => "\xC3\xB1",
[425] Fix | Delete
'Nu;' => "\xCE\x9D",
[426] Fix | Delete
'nu;' => "\xCE\xBD",
[427] Fix | Delete
'Oacute' => "\xC3\x93",
[428] Fix | Delete
'oacute' => "\xC3\xB3",
[429] Fix | Delete
'Oacute;' => "\xC3\x93",
[430] Fix | Delete
'oacute;' => "\xC3\xB3",
[431] Fix | Delete
'Ocirc' => "\xC3\x94",
[432] Fix | Delete
'ocirc' => "\xC3\xB4",
[433] Fix | Delete
'Ocirc;' => "\xC3\x94",
[434] Fix | Delete
'ocirc;' => "\xC3\xB4",
[435] Fix | Delete
'OElig;' => "\xC5\x92",
[436] Fix | Delete
'oelig;' => "\xC5\x93",
[437] Fix | Delete
'Ograve' => "\xC3\x92",
[438] Fix | Delete
'ograve' => "\xC3\xB2",
[439] Fix | Delete
'Ograve;' => "\xC3\x92",
[440] Fix | Delete
'ograve;' => "\xC3\xB2",
[441] Fix | Delete
'oline;' => "\xE2\x80\xBE",
[442] Fix | Delete
'Omega;' => "\xCE\xA9",
[443] Fix | Delete
'omega;' => "\xCF\x89",
[444] Fix | Delete
'Omicron;' => "\xCE\x9F",
[445] Fix | Delete
'omicron;' => "\xCE\xBF",
[446] Fix | Delete
'oplus;' => "\xE2\x8A\x95",
[447] Fix | Delete
'or;' => "\xE2\x88\xA8",
[448] Fix | Delete
'ordf' => "\xC2\xAA",
[449] Fix | Delete
'ordf;' => "\xC2\xAA",
[450] Fix | Delete
'ordm' => "\xC2\xBA",
[451] Fix | Delete
'ordm;' => "\xC2\xBA",
[452] Fix | Delete
'Oslash' => "\xC3\x98",
[453] Fix | Delete
'oslash' => "\xC3\xB8",
[454] Fix | Delete
'Oslash;' => "\xC3\x98",
[455] Fix | Delete
'oslash;' => "\xC3\xB8",
[456] Fix | Delete
'Otilde' => "\xC3\x95",
[457] Fix | Delete
'otilde' => "\xC3\xB5",
[458] Fix | Delete
'Otilde;' => "\xC3\x95",
[459] Fix | Delete
'otilde;' => "\xC3\xB5",
[460] Fix | Delete
'otimes;' => "\xE2\x8A\x97",
[461] Fix | Delete
'Ouml' => "\xC3\x96",
[462] Fix | Delete
'ouml' => "\xC3\xB6",
[463] Fix | Delete
'Ouml;' => "\xC3\x96",
[464] Fix | Delete
'ouml;' => "\xC3\xB6",
[465] Fix | Delete
'para' => "\xC2\xB6",
[466] Fix | Delete
'para;' => "\xC2\xB6",
[467] Fix | Delete
'part;' => "\xE2\x88\x82",
[468] Fix | Delete
'permil;' => "\xE2\x80\xB0",
[469] Fix | Delete
'perp;' => "\xE2\x8A\xA5",
[470] Fix | Delete
'Phi;' => "\xCE\xA6",
[471] Fix | Delete
'phi;' => "\xCF\x86",
[472] Fix | Delete
'Pi;' => "\xCE\xA0",
[473] Fix | Delete
'pi;' => "\xCF\x80",
[474] Fix | Delete
'piv;' => "\xCF\x96",
[475] Fix | Delete
'plusmn' => "\xC2\xB1",
[476] Fix | Delete
'plusmn;' => "\xC2\xB1",
[477] Fix | Delete
'pound' => "\xC2\xA3",
[478] Fix | Delete
'pound;' => "\xC2\xA3",
[479] Fix | Delete
'Prime;' => "\xE2\x80\xB3",
[480] Fix | Delete
'prime;' => "\xE2\x80\xB2",
[481] Fix | Delete
'prod;' => "\xE2\x88\x8F",
[482] Fix | Delete
'prop;' => "\xE2\x88\x9D",
[483] Fix | Delete
'Psi;' => "\xCE\xA8",
[484] Fix | Delete
'psi;' => "\xCF\x88",
[485] Fix | Delete
'QUOT' => "\x22",
[486] Fix | Delete
'quot' => "\x22",
[487] Fix | Delete
'QUOT;' => "\x22",
[488] Fix | Delete
'quot;' => "\x22",
[489] Fix | Delete
'radic;' => "\xE2\x88\x9A",
[490] Fix | Delete
'rang;' => "\xE3\x80\x89",
[491] Fix | Delete
'raquo' => "\xC2\xBB",
[492] Fix | Delete
'raquo;' => "\xC2\xBB",
[493] Fix | Delete
'rArr;' => "\xE2\x87\x92",
[494] Fix | Delete
'rarr;' => "\xE2\x86\x92",
[495] Fix | Delete
'rceil;' => "\xE2\x8C\x89",
[496] Fix | Delete
'rdquo;' => "\xE2\x80\x9D",
[497] Fix | Delete
'real;' => "\xE2\x84\x9C",
[498] Fix | Delete
'REG' => "\xC2\xAE",
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function