<p>What are the differences between <code>htmlspecialchars()</code> and <code>htmlentities()</code>. When should I use one or the other?</p>

[{'answer_id': 46491, 'author': 'Thomas Owens', 'author_id': 572, 'author_profile': 'https://Stackoverflow.com/users/572', 'pm_score': 10, 'selected': True, 'text': '<p>From the PHP documentation for <a href="http://us2.php.net/htmlentities" rel="noreferrer">htmlentities</a>:</p>\n\n<blockquote>\n  <p>This function is identical to <code>htmlspecialchars()</code> in all ways, except with <code>htmlentities()</code>, all characters which have HTML character entity equivalents are translated into these entities. </p>\n</blockquote>\n\n<p>From the PHP documentation for <a href="http://us.php.net/htmlspecialchars" rel="noreferrer">htmlspecialchars</a>:</p>\n\n<blockquote>\n  <p>Certain characters have special significance in HTML, and should be represented by HTML entities if they are to preserve their meanings. This function returns a string with some of these conversions made; the translations made are those most useful for everyday web programming. If you require all HTML character entities to be translated, use <code>htmlentities()</code> instead.</p>\n</blockquote>\n\n<p>The difference is what gets encoded. The choices are everything (entities) or "special" characters, like ampersand, double and single quotes, less than, and greater than (specialchars).</p>\n\n<p>I prefer to use <code>htmlspecialchars</code> whenever possible.</p>\n\n<p>For example:</p>\n\n   <pre class="lang-php prettyprint-override"><code>    echo htmlentities(\'&lt;Il était une fois un être&gt;.\');\n    // Output: &amp;lt;Il &amp;eacute;tait une fois un &amp;ecirc;tre&amp;gt;.\n    //                ^^^^^^^^                 ^^^^^^^\n\n    echo htmlspecialchars(\'&lt;Il était une fois un être&gt;.\');\n    // Output: &amp;lt;Il était une fois un être&amp;gt;.\n    //                ^                 ^\n</code></pre>\n'}, {'answer_id': 46523, 'author': 'cic', 'author_id': 4771, 'author_profile': 'https://Stackoverflow.com/users/4771', 'pm_score': 3, 'selected': False, 'text': '<p>You probably want to use some Unicode character encoding, for example <a href="http://en.wikipedia.org/wiki/UTF-8" rel="noreferrer">UTF-8</a>, and htmlspecialchars. Because there isn\'t <em>any</em> need to generate "HTML entities" for "all [the] applicable characters" (that is what htmlentities does according to the documentation) if it\'s already in your character set.</p>\n'}, {'answer_id': 3614330, 'author': 'Artefacto', 'author_id': 127724, 'author_profile': 'https://Stackoverflow.com/users/127724', 'pm_score': 7, 'selected': False, 'text': "<p>Because:</p>\n\n<ul>\n<li>Sometimes you're writing XML data, and you can't use HTML entities in a XML file.</li>\n<li>Because <code>htmlentities</code> substitutes more characters than <code>htmlspecialchars</code>. This is unnecessary, makes the PHP script less efficient and the resulting HTML code less readable.</li>\n</ul>\n\n<p><code>htmlentities</code> is only necessary if your pages use encodings such as ASCII or LATIN-1 instead of UTF-8 and you're handling data with an encoding different from the page's.</p>\n"}, {'answer_id': 3614333, 'author': 'grossvogel', 'author_id': 14957, 'author_profile': 'https://Stackoverflow.com/users/14957', 'pm_score': 4, 'selected': False, 'text': '<p><code>htmlspecialchars ()</code> does the minimum amount of encoding to ensure that your string is not parsed as HTML. This leaves your string more human-readable than it would be if you used <code>htmlentities ()</code> to encode absolutely everything that has an encoding.</p>\n'}, {'answer_id': 3614344, 'author': 'Arseni Mourzenko', 'author_id': 240613, 'author_profile': 'https://Stackoverflow.com/users/240613', 'pm_score': 9, 'selected': False, 'text': '<p><code>htmlspecialchars</code> may be used:</p>\n\n<ol>\n<li><p>When there is no need to encode all characters which have their HTML equivalents.</p>\n\n<p>If you know that the page encoding match the text special symbols, why would you use <code>htmlentities</code>? <code>htmlspecialchars</code> is much straightforward, and produce less code to send to the client.</p>\n\n<p>For example:</p>\n\n<pre class="lang-php prettyprint-override"><code>echo htmlentities(\'&lt;Il était une fois un être&gt;.\');\n// Output: &amp;lt;Il &amp;eacute;tait une fois un &amp;ecirc;tre&amp;gt;.\n//                ^^^^^^^^                 ^^^^^^^\n\necho htmlspecialchars(\'&lt;Il était une fois un être&gt;.\');\n// Output: &amp;lt;Il était une fois un être&amp;gt;.\n//                ^                 ^\n</code></pre>\n\n<p>The second one is shorter, and does not cause any problems if ISO-8859-1 charset is set.</p></li>\n<li><p>When the data will be processed not only through a browser (to avoid decoding HTML entities),</p></li>\n<li><p>If the output is XML (see <a href="https://stackoverflow.com/a/3614330/240613">the answer by Artefacto</a>).</p></li>\n</ol>\n'}, {'answer_id': 5570629, 'author': 'Eric Hogue', 'author_id': 4137, 'author_profile': 'https://Stackoverflow.com/users/4137', 'pm_score': 4, 'selected': False, 'text': '<p>I just found out about the <a href="http://www.php.net/manual/en/function.get-html-translation-table.php" rel="noreferrer"><code>get_html_translation_table</code></a> function. You pass it <code>HTML_ENTITIES</code> or <code>HTML_SPECIALCHARS</code> and it returns an array with the characters that will be encoded and how they will be encoded. </p>\n'}, {'answer_id': 12079371, 'author': 'Kmeixner', 'author_id': 1598979, 'author_profile': 'https://Stackoverflow.com/users/1598979', 'pm_score': 4, 'selected': False, 'text': '<p>You should use <code>htmlspecialchars($strText, ENT_QUOTES)</code> when you just want your string to be XML and HTML safe:</p>\n\n<p>For example, encode </p>\n\n<ul>\n<li>&amp; to &amp;amp;</li>\n<li>&quot; to &amp;quot;</li>\n<li>&lt; to &amp;lt;</li>\n<li>&gt; to &amp;gt;</li>\n<li>&#039; to &amp;#039;</li>\n</ul>\n\n<p>However, if you also have additional characters that are <a href="http://en.wikipedia.org/wiki/Unicode" rel="noreferrer">Unicode</a> or uncommon symbols in your text then you should use htmlentities() to ensure they show up properly in your HTML page.</p>\n\n<p>Notes: </p>\n\n<ul>\n<li>&#039; will only be encoded by htmlspecialchars() to &amp;#039; if the ENT_QUOTES option is passed in. &amp;#039; is safer to use then &amp;apos; since older versions of Internet&nbsp;Explorer do not support the &amp;apos; entity.</li>\n<li>Technically, &gt; does not need to be encoded as per the XML specification, but it is usually encoded too for consistency with the requirement of &lt; being encoded.</li>\n</ul>\n'}, {'answer_id': 24351380, 'author': 'Berky', 'author_id': 3500977, 'author_profile': 'https://Stackoverflow.com/users/3500977', 'pm_score': 7, 'selected': False, 'text': '<p>This is being encoded with <code>htmlentities</code>. </p>\n\n<p><code>implode( "\\t", array_values( get_html_translation_table( HTML_ENTITIES ) ) )</code>:</p>\n\n<blockquote>\n  <p>" &amp;   &lt;   ><br>\n    ¡   ¢   £   ¤   ¥   ¦   §   ¨   ©   ª   «   ¬   \xad   ®   ¯   °   ±   ²   ³   ´   µ   ¶   ·   ¸   ¹   º   »   ¼   ½   ¾   ¿   À   Á   Â   Ã   Ä   Å   Æ   Ç   È   É   Ê   Ë\n  Ì Í   Î   Ï   Ð   Ñ   Ò   Ó   Ô   Õ   Ö   ×   Ø   Ù   Ú   Û   Ü   Ý   Þ   ß   à   á   â   ã   ä   å   æ   ç   è   é   ê   ë   ì   í   î   ï   ð   ñ   ò   ó   ô   õ   ö   ÷   ø   ù   ú   û   ü   ý   þ   ÿ   Œ\n  œ Š   š   Ÿ   ƒ   ˆ   ˜   Α   Β   Γ   Δ   Ε   Ζ   Η   Θ   Ι   Κ   Λ   Μ   Ν   Ξ   Ο   Π   Ρ   Σ   Τ   Υ   Φ   Χ   Ψ   Ω   α   β   γ   δ   ε   ζ   η   θ   ι   κ   λ   μ   ν   ξ   ο   π   ρ   ς   σ   τ\n  υ φ   χ   ψ   ω   ϑ   ϒ   ϖ   \u2002   \u2003   \u2009   \u200c   \u200d   \u200e   \u200f   –   —   ‘   ’   ‚   “   ”   „   †   ‡   •   …   ‰   ′   ″   ‹   ›   ‾   ⁄   €   ℑ   ℘   ℜ   ™   ℵ   ←   ↑   →   ↓   ↔   ↵   ⇐   ⇑   ⇒   ⇓   ⇔\n  ∀ ∂   ∃   ∅   ∇   ∈   ∉   ∋   ∏   ∑   −   ∗   √   ∝   ∞   ∠   ∧   ∨   ∩   ∪   ∫   ∴   ∼   ≅   ≈   ≠   ≡   ≤   ≥   ⊂   ⊃   ⊄   ⊆   ⊇   ⊕   ⊗   ⊥   ⋅   ⌈   ⌉   ⌊   ⌋   ⟨\n  ⟩ ◊   ♠   ♣   ♥   ♦</p>\n</blockquote>\n\n<p>This is being encoded with <code>htmlspecialchars</code>.</p>\n\n<p><code>implode( "\\t", array_values( get_html_translation_table( HTML_SPECIALCHARS ) ) )</code>:</p>\n\n<blockquote>\n  <p>" &amp;   &lt;   ></p>\n</blockquote>\n'}, {'answer_id': 30159066, 'author': 'Joko Wandiro', 'author_id': 515536, 'author_profile': 'https://Stackoverflow.com/users/515536', 'pm_score': 3, 'selected': False, 'text': '<p>htmlentities — Convert all applicable characters to HTML entities.</p>\n\n<p>htmlspecialchars — Convert special characters to HTML entities.</p>\n\n<p>The translations performed translation characters on the below: </p>\n\n<ul>\n<li>\'&amp;\' (ampersand) becomes \'&amp;amp;\' </li>\n<li>\'"\' (double quote) becomes \'&amp;quot;\' when ENT_NOQUOTES is not set. </li>\n<li>"\'" (single quote) becomes \'&amp;#039;\' (or &apos;) only when ENT_QUOTES is set. </li>\n<li>\'&lt;\' (less than) becomes \'&amp;lt;\' </li>\n<li>\'>\' (greater than) becomes \'&amp;gt;\'</li>\n</ul>\n\n<p>You can check the following code for more information about what\'s htmlentities and htmlspecialchars:</p>\n\n<p><a href="https://gist.github.com/joko-wandiro/f5c935708d9c37d8940b" rel="noreferrer">https://gist.github.com/joko-wandiro/f5c935708d9c37d8940b</a></p>\n'}, {'answer_id': 35146143, 'author': 'learn2reid', 'author_id': 2141301, 'author_profile': 'https://Stackoverflow.com/users/2141301', 'pm_score': 2, 'selected': False, 'text': "<p>One small example, I needed to have 2 client names indexed in a function:</p>\n\n<pre><code>[1] =&gt; Altisoxxce Soluxxons S.à r.l.\n[5] =&gt; Joxxson &amp; Joxxson\n</code></pre>\n\n<p>I originally <code>$term = get_term_by('name', htmlentities($name), 'client');</code> which resulted in term names that only included the ampersand array item (&amp;) but not the accented item. But when I changed the variable setting to <code>htmlspecialchars</code> both were able to run through the function. Hope this helps!</p>\n"}, {'answer_id': 41745526, 'author': 'Anson Hwang', 'author_id': 7033914, 'author_profile': 'https://Stackoverflow.com/users/7033914', 'pm_score': 1, 'selected': False, 'text': '<pre><code>**HTML Character Entity Reference Chart at W3.org**\n</code></pre>\n\n<p><a href="https://dev.w3.org/html5/html-author/charref" rel="nofollow noreferrer">https://dev.w3.org/html5/html-author/charref</a></p>\n\n<pre><code>&amp;Tab;\n&amp;NewLine;\n!\n&amp;excl;\n"\n&amp;quot; &amp;QUOT;\n#\n&amp;num;\n$\n&amp;dollar;\n%\n&amp;percnt;\n&amp;\n&amp;amp; &amp;AMP;\n\'\n&amp;apos;\n(\n&amp;lpar;\n)\n&amp;rpar;\n*\n&amp;ast; &amp;midast;\n+\n&amp;plus;\n,\n&amp;comma;\n.\n&amp;period;\n/\n&amp;sol;\n:\n&amp;colon;\n;\n&amp;semi;\n&lt;\n&amp;lt; &amp;LT;\n=\n&amp;equals;\n&gt;\n&amp;gt; &amp;GT;\n?\n&amp;quest;\n@\n&amp;commat;\n[\n&amp;lsqb; &amp;lbrack;\n\\\n&amp;bsol;\n]\n&amp;rsqb; &amp;rbrack;\n^\n&amp;Hat;\n_\n&amp;lowbar;\n`\n&amp;grave; &amp;DiacriticalGrave;\n{\n&amp;lcub; &amp;lbrace;\n|\n&amp;verbar; &amp;vert; &amp;VerticalLine;\n}\n&amp;rcub; &amp;rbrace;\n\n&amp;nbsp; &amp;NonBreakingSpace;\n¡\n&amp;iexcl;\n¢\n&amp;cent;\n£\n&amp;pound;\n¤\n&amp;curren;\n¥\n&amp;yen;\n¦\n&amp;brvbar;\n§\n&amp;sect;\n¨\n&amp;Dot; &amp;die; &amp;DoubleDot; &amp;uml;\n©\n&amp;copy; &amp;COPY;\nª\n&amp;ordf;\n«\n&amp;laquo;\n¬\n&amp;not;\n&amp;shy;\n®\n&amp;reg; &amp;circledR; &amp;REG;\n¯\n&amp;macr; &amp;OverBar; &amp;strns;\n°\n&amp;deg;\n±\n&amp;plusmn; &amp;pm; &amp;PlusMinus;\n²\n&amp;sup2;\n³\n&amp;sup3;\n´\n&amp;acute; &amp;DiacriticalAcute;\nµ\n&amp;micro;\n¶\n&amp;para;\n·\n&amp;middot; &amp;centerdot; &amp;CenterDot;\n¸\n&amp;cedil; &amp;Cedilla;\n¹\n&amp;sup1;\nº\n&amp;ordm;\n»\n&amp;raquo;\n¼\n&amp;frac14;\n½\n&amp;frac12; &amp;half;\n¾\n&amp;frac34;\n¿\n&amp;iquest;\nÀ\n&amp;Agrave;\nÁ\n&amp;Aacute;\nÂ\n&amp;Acirc;\nÃ\n&amp;Atilde;\nÄ\n&amp;Auml;\nÅ\n&amp;Aring;\nÆ\n&amp;AElig;\nÇ\n&amp;Ccedil;\nÈ\n&amp;Egrave;\nÉ\n&amp;Eacute;\nÊ\n&amp;Ecirc;\nË\n&amp;Euml;\nÌ\n&amp;Igrave;\nÍ\n&amp;Iacute;\nÎ\n&amp;Icirc;\nÏ\n&amp;Iuml;\nÐ\n&amp;ETH;\nÑ\n&amp;Ntilde;\nÒ\n&amp;Ograve;\nÓ\n&amp;Oacute;\nÔ\n&amp;Ocirc;\nÕ\n&amp;Otilde;\nÖ\n&amp;Ouml;\n×\n&amp;times;\nØ\n&amp;Oslash;\nÙ\n&amp;Ugrave;\nÚ\n&amp;Uacute;\nÛ\n&amp;Ucirc;\nÜ\n&amp;Uuml;\nÝ\n&amp;Yacute;\nÞ\n&amp;THORN;\nß\n&amp;szlig;\nà\n&amp;agrave;\ná\n&amp;aacute;\nâ\n&amp;acirc;\nã\n&amp;atilde;\nä\n&amp;auml;\nå\n&amp;aring;\næ\n&amp;aelig;\nç\n&amp;ccedil;\nè\n&amp;egrave;\né\n&amp;eacute;\nê\n&amp;ecirc;\në\n&amp;euml;\nì\n&amp;igrave;\ní\n&amp;iacute;\nî\n&amp;icirc;\nï\n&amp;iuml;\nð\n&amp;eth;\nñ\n&amp;ntilde;\nò\n&amp;ograve;\nó\n&amp;oacute;\nô\n&amp;ocirc;\nõ\n&amp;otilde;\nö\n&amp;ouml;\n÷\n&amp;divide; &amp;div;\nø\n&amp;oslash;\nù\n&amp;ugrave;\nú\n&amp;uacute;\nû\n&amp;ucirc;\nü\n&amp;uuml;\ný\n&amp;yacute;\nþ\n&amp;thorn;\nÿ\n&amp;yuml;\nĀ\n&amp;Amacr;\nā\n&amp;amacr;\nĂ\n&amp;Abreve;\nă\n&amp;abreve;\nĄ\n&amp;Aogon;\ną\n&amp;aogon;\nĆ\n&amp;Cacute;\nć\n&amp;cacute;\nĈ\n&amp;Ccirc;\nĉ\n&amp;ccirc;\nĊ\n&amp;Cdot;\nċ\n&amp;cdot;\nČ\n&amp;Ccaron;\nč\n&amp;ccaron;\nĎ\n&amp;Dcaron;\nď\n&amp;dcaron;\nĐ\n&amp;Dstrok;\nđ\n&amp;dstrok;\nĒ\n&amp;Emacr;\nē\n&amp;emacr;\nĖ\n&amp;Edot;\nė\n&amp;edot;\nĘ\n&amp;Eogon;\nę\n&amp;eogon;\nĚ\n&amp;Ecaron;\ně\n&amp;ecaron;\nĜ\n&amp;Gcirc;\nĝ\n&amp;gcirc;\nĞ\n&amp;Gbreve;\nğ\n&amp;gbreve;\nĠ\n&amp;Gdot;\nġ\n&amp;gdot;\nĢ\n&amp;Gcedil;\nĤ\n&amp;Hcirc;\nĥ\n&amp;hcirc;\nĦ\n&amp;Hstrok;\nħ\n&amp;hstrok;\nĨ\n&amp;Itilde;\nĩ\n&amp;itilde;\nĪ\n&amp;Imacr;\nī\n&amp;imacr;\nĮ\n&amp;Iogon;\nį\n&amp;iogon;\nİ\n&amp;Idot;\nı\n&amp;imath; &amp;inodot;\nĲ\n&amp;IJlig;\nĳ\n&amp;ijlig;\nĴ\n&amp;Jcirc;\nĵ\n&amp;jcirc;\nĶ\n&amp;Kcedil;\nķ\n&amp;kcedil;\nĸ\n&amp;kgreen;\nĹ\n&amp;Lacute;\nĺ\n&amp;lacute;\nĻ\n&amp;Lcedil;\nļ\n&amp;lcedil;\nĽ\n&amp;Lcaron;\nľ\n&amp;lcaron;\nĿ\n&amp;Lmidot;\nŀ\n&amp;lmidot;\nŁ\n&amp;Lstrok;\nł\n&amp;lstrok;\nŃ\n&amp;Nacute;\nń\n&amp;nacute;\nŅ\n&amp;Ncedil;\nņ\n&amp;ncedil;\nŇ\n&amp;Ncaron;\nň\n&amp;ncaron;\nŉ\n&amp;napos;\nŊ\n&amp;ENG;\nŋ\n&amp;eng;\nŌ\n&amp;Omacr;\nō\n&amp;omacr;\nŐ\n&amp;Odblac;\nő\n&amp;odblac;\nŒ\n&amp;OElig;\nœ\n&amp;oelig;\nŔ\n&amp;Racute;\nŕ\n&amp;racute;\nŖ\n&amp;Rcedil;\nŗ\n&amp;rcedil;\nŘ\n&amp;Rcaron;\nř\n&amp;rcaron;\nŚ\n&amp;Sacute;\nś\n&amp;sacute;\nŜ\n&amp;Scirc;\nŝ\n&amp;scirc;\nŞ\n&amp;Scedil;\nş\n&amp;scedil;\nŠ\n&amp;Scaron;\nš\n&amp;scaron;\nŢ\n&amp;Tcedil;\nţ\n&amp;tcedil;\nŤ\n&amp;Tcaron;\nť\n&amp;tcaron;\nŦ\n&amp;Tstrok;\nŧ\n&amp;tstrok;\nŨ\n&amp;Utilde;\nũ\n&amp;utilde;\nŪ\n&amp;Umacr;\nū\n&amp;umacr;\nŬ\n&amp;Ubreve;\nŭ\n&amp;ubreve;\nŮ\n&amp;Uring;\nů\n&amp;uring;\nŰ\n&amp;Udblac;\nű\n&amp;udblac;\nŲ\n&amp;Uogon;\nų\n&amp;uogon;\nŴ\n&amp;Wcirc;\nŵ\n&amp;wcirc;\nŶ\n&amp;Ycirc;\nŷ\n&amp;ycirc;\nŸ\n&amp;Yuml;\nŹ\n&amp;Zacute;\nź\n&amp;zacute;\nŻ\n&amp;Zdot;\nż\n&amp;zdot;\nŽ\n&amp;Zcaron;\nž\n&amp;zcaron;\nƒ\n&amp;fnof;\nƵ\n&amp;imped;\nǵ\n&amp;gacute;\nȷ\n&amp;jmath;\nˆ\n&amp;circ;\nˇ\n&amp;caron; &amp;Hacek;\n˘\n&amp;breve; &amp;Breve;\n˙\n&amp;dot; &amp;DiacriticalDot;\n˚\n&amp;ring;\n˛\n&amp;ogon;\n˜\n&amp;tilde; &amp;DiacriticalTilde;\n˝\n&amp;dblac; &amp;DiacriticalDoubleAcute;\n̑\n&amp;DownBreve;\n̲\n&amp;UnderBar;\nΑ\n&amp;Alpha;\nΒ\n&amp;Beta;\nΓ\n&amp;Gamma;\nΔ\n&amp;Delta;\nΕ\n&amp;Epsilon;\nΖ\n&amp;Zeta;\nΗ\n&amp;Eta;\nΘ\n&amp;Theta;\nΙ\n&amp;Iota;\nΚ\n&amp;Kappa;\nΛ\n&amp;Lambda;\nΜ\n&amp;Mu;\nΝ\n&amp;Nu;\nΞ\n&amp;Xi;\nΟ\n&amp;Omicron;\nΠ\n&amp;Pi;\nΡ\n&amp;Rho;\nΣ\n&amp;Sigma;\nΤ\n&amp;Tau;\nΥ\n&amp;Upsilon;\nΦ\n&amp;Phi;\nΧ\n&amp;Chi;\nΨ\n&amp;Psi;\nΩ\n&amp;Omega;\nα\n&amp;alpha;\nβ\n&amp;beta;\nγ\n&amp;gamma;\nδ\n&amp;delta;\nε\n&amp;epsiv; &amp;varepsilon; &amp;epsilon;\nζ\n&amp;zeta;\nη\n&amp;eta;\nθ\n&amp;theta;\nι\n&amp;iota;\nκ\n&amp;kappa;\nλ\n&amp;lambda;\nμ\n&amp;mu;\nν\n&amp;nu;\nξ\n&amp;xi;\nο\n&amp;omicron;\nπ\n&amp;pi;\nρ\n&amp;rho;\nς\n&amp;sigmav; &amp;varsigma; &amp;sigmaf;\nσ\n&amp;sigma;\nτ\n&amp;tau;\nυ\n&amp;upsi; &amp;upsilon;\nφ\n&amp;phi; &amp;phiv; &amp;varphi;\nχ\n&amp;chi;\nψ\n&amp;psi;\nω\n&amp;omega;\nϑ\n&amp;thetav; &amp;vartheta; &amp;thetasym;\nϒ\n&amp;Upsi; &amp;upsih;\nϕ\n&amp;straightphi;\nϖ\n&amp;piv; &amp;varpi;\nϜ\n&amp;Gammad;\nϝ\n&amp;gammad; &amp;digamma;\nϰ\n&amp;kappav; &amp;varkappa;\nϱ\n&amp;rhov; &amp;varrho;\nϵ\n&amp;epsi; &amp;straightepsilon;\n϶\n&amp;bepsi; &amp;backepsilon;\nЁ\n&amp;IOcy;\nЂ\n&amp;DJcy;\nЃ\n&amp;GJcy;\nЄ\n&amp;Jukcy;\nЅ\n&amp;DScy;\nІ\n&amp;Iukcy;\nЇ\n&amp;YIcy;\nЈ\n&amp;Jsercy;\nЉ\n&amp;LJcy;\nЊ\n&amp;NJcy;\nЋ\n&amp;TSHcy;\nЌ\n&amp;KJcy;\nЎ\n&amp;Ubrcy;\nЏ\n&amp;DZcy;\nА\n&amp;Acy;\nБ\n&amp;Bcy;\nВ\n&amp;Vcy;\nГ\n&amp;Gcy;\nД\n&amp;Dcy;\nЕ\n&amp;IEcy;\nЖ\n&amp;ZHcy;\nЗ\n&amp;Zcy;\nИ\n&amp;Icy;\nЙ\n&amp;Jcy;\nК\n&amp;Kcy;\nЛ\n&amp;Lcy;\nМ\n&amp;Mcy;\nН\n&amp;Ncy;\nО\n&amp;Ocy;\nП\n&amp;Pcy;\nР\n&amp;Rcy;\nС\n&amp;Scy;\nТ\n&amp;Tcy;\nУ\n&amp;Ucy;\nФ\n&amp;Fcy;\nХ\n&amp;KHcy;\nЦ\n&amp;TScy;\nЧ\n&amp;CHcy;\nШ\n&amp;SHcy;\nЩ\n&amp;SHCHcy;\nЪ\n&amp;HARDcy;\nЫ\n&amp;Ycy;\nЬ\n&amp;SOFTcy;\nЭ\n&amp;Ecy;\nЮ\n&amp;YUcy;\nЯ\n&amp;YAcy;\nа\n&amp;acy;\nб\n&amp;bcy;\nв\n&amp;vcy;\nг\n&amp;gcy;\nд\n&amp;dcy;\nе\n&amp;iecy;\nж\n&amp;zhcy;\nз\n&amp;zcy;\nи\n&amp;icy;\nй\n&amp;jcy;\nк\n&amp;kcy;\nл\n&amp;lcy;\nм\n&amp;mcy;\nн\n&amp;ncy;\nо\n&amp;ocy;\nп\n&amp;pcy;\nр\n&amp;rcy;\nс\n&amp;scy;\nт\n&amp;tcy;\nу\n&amp;ucy;\nф\n&amp;fcy;\nх\n&amp;khcy;\nц\n&amp;tscy;\nч\n&amp;chcy;\nш\n&amp;shcy;\nщ\n&amp;shchcy;\nъ\n&amp;hardcy;\nы\n&amp;ycy;\nь\n&amp;softcy;\nэ\n&amp;ecy;\nю\n&amp;yucy;\nя\n&amp;yacy;\nё\n&amp;iocy;\nђ\n&amp;djcy;\nѓ\n&amp;gjcy;\nє\n&amp;jukcy;\nѕ\n&amp;dscy;\nі\n&amp;iukcy;\nї\n&amp;yicy;\nј\n&amp;jsercy;\nљ\n&amp;ljcy;\nњ\n&amp;njcy;\nћ\n&amp;tshcy;\nќ\n&amp;kjcy;\nў\n&amp;ubrcy;\nџ\n&amp;dzcy;\n\u2002\n&amp;ensp;\n\u2003\n&amp;emsp;\n\u2004\n&amp;emsp13;\n\u2005\n&amp;emsp14;\n\u2007\n&amp;numsp;\n\u2008\n&amp;puncsp;\n\u2009\n&amp;thinsp; &amp;ThinSpace;\n\u200a\n&amp;hairsp; &amp;VeryThinSpace;\n\u200b\n&amp;ZeroWidthSpace; &amp;NegativeVeryThinSpace; &amp;NegativeThinSpace; &amp;NegativeMediumSpace; &amp;NegativeThickSpace;\n\u200c\n&amp;zwnj;\n\u200d\n&amp;zwj;\n\u200e\n&amp;lrm;\n\u200f\n&amp;rlm;\n‐\n&amp;hyphen; &amp;dash;\n–\n&amp;ndash;\n—\n&amp;mdash;\n―\n&amp;horbar;\n‖\n&amp;Verbar; &amp;Vert;\n‘\n&amp;lsquo; &amp;OpenCurlyQuote;\n’\n&amp;rsquo; &amp;rsquor; &amp;CloseCurlyQuote;\n‚\n&amp;lsquor; &amp;sbquo;\n“\n&amp;ldquo; &amp;OpenCurlyDoubleQuote;\n”\n&amp;rdquo; &amp;rdquor; &amp;CloseCurlyDoubleQuote;\n„\n&amp;ldquor; &amp;bdquo;\n†\n&amp;dagger;\n‡\n&amp;Dagger; &amp;ddagger;\n•\n&amp;bull; &amp;bullet;\n‥\n&amp;nldr;\n…\n&amp;hellip; &amp;mldr;\n‰\n&amp;permil;\n‱\n&amp;pertenk;\n′\n&amp;prime;\n″\n&amp;Prime;\n‴\n&amp;tprime;\n‵\n&amp;bprime; &amp;backprime;\n‹\n&amp;lsaquo;\n›\n&amp;rsaquo;\n‾\n&amp;oline;\n⁁\n&amp;caret;\n⁃\n&amp;hybull;\n⁄\n&amp;frasl;\n⁏\n&amp;bsemi;\n⁗\n&amp;qprime;\n\u205f\n&amp;MediumSpace;\n\u2060\n&amp;NoBreak;\n\u2061\n&amp;ApplyFunction; &amp;af;\n\u2062\n&amp;InvisibleTimes; &amp;it;\n\u2063\n&amp;InvisibleComma; &amp;ic;\n€\n&amp;euro;\n⃛\n&amp;tdot; &amp;TripleDot;\n⃜\n&amp;DotDot;\nℂ\n&amp;Copf; &amp;complexes;\n℅\n&amp;incare;\nℊ\n&amp;gscr;\nℋ\n&amp;hamilt; &amp;HilbertSpace; &amp;Hscr;\nℌ\n&amp;Hfr; &amp;Poincareplane;\nℍ\n&amp;quaternions; &amp;Hopf;\nℎ\n&amp;planckh;\nℏ\n&amp;planck; &amp;hbar; &amp;plankv; &amp;hslash;\nℐ\n&amp;Iscr; &amp;imagline;\nℑ\n&amp;image; &amp;Im; &amp;imagpart; &amp;Ifr;\nℒ\n&amp;Lscr; &amp;lagran; &amp;Laplacetrf;\nℓ\n&amp;ell;\nℕ\n&amp;Nopf; &amp;naturals;\n№\n&amp;numero;\n℗\n&amp;copysr;\n℘\n&amp;weierp; &amp;wp;\nℙ\n&amp;Popf; &amp;primes;\nℚ\n&amp;rationals; &amp;Qopf;\nℛ\n&amp;Rscr; &amp;realine;\nℜ\n&amp;real; &amp;Re; &amp;realpart; &amp;Rfr;\nℝ\n&amp;reals; &amp;Ropf;\n℞\n&amp;rx;\n™\n&amp;trade; &amp;TRADE;\nℤ\n&amp;integers; &amp;Zopf;\nΩ\n&amp;ohm;\n℧\n&amp;mho;\nℨ\n&amp;Zfr; &amp;zeetrf;\n℩\n&amp;iiota;\nÅ\n&amp;angst;\nℬ\n&amp;bernou; &amp;Bernoullis; &amp;Bscr;\nℭ\n&amp;Cfr; &amp;Cayleys;\nℯ\n&amp;escr;\nℰ\n&amp;Escr; &amp;expectation;\nℱ\n&amp;Fscr; &amp;Fouriertrf;\nℳ\n&amp;phmmat; &amp;Mellintrf; &amp;Mscr;\nℴ\n&amp;order; &amp;orderof; &amp;oscr;\nℵ\n&amp;alefsym; &amp;aleph;\nℶ\n&amp;beth;\nℷ\n&amp;gimel;\nℸ\n&amp;daleth;\nⅅ\n&amp;CapitalDifferentialD; &amp;DD;\nⅆ\n&amp;DifferentialD; &amp;dd;\nⅇ\n&amp;ExponentialE; &amp;exponentiale; &amp;ee;\nⅈ\n&amp;ImaginaryI; &amp;ii;\n⅓\n&amp;frac13;\n⅔\n&amp;frac23;\n⅕\n&amp;frac15;\n⅖\n&amp;frac25;\n⅗\n&amp;frac35;\n⅘\n&amp;frac45;\n⅙\n&amp;frac16;\n⅚\n&amp;frac56;\n⅛\n&amp;frac18;\n⅜\n&amp;frac38;\n⅝\n&amp;frac58;\n⅞\n&amp;frac78;\n←\n&amp;larr; &amp;leftarrow; &amp;LeftArrow; &amp;slarr; &amp;ShortLeftArrow;\n↑\n&amp;uarr; &amp;uparrow; &amp;UpArrow; &amp;ShortUpArrow;\n→\n&amp;rarr; &amp;rightarrow; &amp;RightArrow; &amp;srarr; &amp;ShortRightArrow;\n↓\n&amp;darr; &amp;downarrow; &amp;DownArrow; &amp;ShortDownArrow;\n↔\n&amp;harr; &amp;leftrightarrow; &amp;LeftRightArrow;\n↕\n&amp;varr; &amp;updownarrow; &amp;UpDownArrow;\n↖\n&amp;nwarr; &amp;UpperLeftArrow; &amp;nwarrow;\n↗\n&amp;nearr; &amp;UpperRightArrow; &amp;nearrow;\n↘\n&amp;searr; &amp;searrow; &amp;LowerRightArrow;\n↙\n&amp;swarr; &amp;swarrow; &amp;LowerLeftArrow;\n↚\n&amp;nlarr; &amp;nleftarrow;\n↛\n&amp;nrarr; &amp;nrightarrow;\n↝\n&amp;rarrw; &amp;rightsquigarrow;\n↞\n&amp;Larr; &amp;twoheadleftarrow;\n↟\n&amp;Uarr;\n↠\n&amp;Rarr; &amp;twoheadrightarrow;\n↡\n&amp;Darr;\n↢\n&amp;larrtl; &amp;leftarrowtail;\n↣\n&amp;rarrtl; &amp;rightarrowtail;\n↤\n&amp;LeftTeeArrow; &amp;mapstoleft;\n↥\n&amp;UpTeeArrow; &amp;mapstoup;\n↦\n&amp;map; &amp;RightTeeArrow; &amp;mapsto;\n↧\n&amp;DownTeeArrow; &amp;mapstodown;\n↩\n&amp;larrhk; &amp;hookleftarrow;\n↪\n&amp;rarrhk; &amp;hookrightarrow;\n↫\n&amp;larrlp; &amp;looparrowleft;\n↬\n&amp;rarrlp; &amp;looparrowright;\n↭\n&amp;harrw; &amp;leftrightsquigarrow;\n↮\n&amp;nharr; &amp;nleftrightarrow;\n↰\n&amp;lsh; &amp;Lsh;\n↱\n&amp;rsh; &amp;Rsh;\n↲\n&amp;ldsh;\n↳\n&amp;rdsh;\n↵\n&amp;crarr;\n↶\n&amp;cularr; &amp;curvearrowleft;\n↷\n&amp;curarr; &amp;curvearrowright;\n↺\n&amp;olarr; &amp;circlearrowleft;\n↻\n&amp;orarr; &amp;circlearrowright;\n↼\n&amp;lharu; &amp;LeftVector; &amp;leftharpoonup;\n↽\n&amp;lhard; &amp;leftharpoondown; &amp;DownLeftVector;\n↾\n&amp;uharr; &amp;upharpoonright; &amp;RightUpVector;\n↿\n&amp;uharl; &amp;upharpoonleft; &amp;LeftUpVector;\n⇀\n&amp;rharu; &amp;RightVector; &amp;rightharpoonup;\n⇁\n&amp;rhard; &amp;rightharpoondown; &amp;DownRightVector;\n⇂\n&amp;dharr; &amp;RightDownVector; &amp;downharpoonright;\n⇃\n&amp;dharl; &amp;LeftDownVector; &amp;downharpoonleft;\n⇄\n&amp;rlarr; &amp;rightleftarrows; &amp;RightArrowLeftArrow;\n⇅\n&amp;udarr; &amp;UpArrowDownArrow;\n⇆\n&amp;lrarr; &amp;leftrightarrows; &amp;LeftArrowRightArrow;\n⇇\n&amp;llarr; &amp;leftleftarrows;\n⇈\n&amp;uuarr; &amp;upuparrows;\n⇉\n&amp;rrarr; &amp;rightrightarrows;\n⇊\n&amp;ddarr; &amp;downdownarrows;\n⇋\n&amp;lrhar; &amp;ReverseEquilibrium; &amp;leftrightharpoons;\n⇌\n&amp;rlhar; &amp;rightleftharpoons; &amp;Equilibrium;\n⇍\n&amp;nlArr; &amp;nLeftarrow;\n⇎\n&amp;nhArr; &amp;nLeftrightarrow;\n⇏\n&amp;nrArr; &amp;nRightarrow;\n⇐\n&amp;lArr; &amp;Leftarrow; &amp;DoubleLeftArrow;\n⇑\n&amp;uArr; &amp;Uparrow; &amp;DoubleUpArrow;\n⇒\n&amp;rArr; &amp;Rightarrow; &amp;Implies; &amp;DoubleRightArrow;\n⇓\n&amp;dArr; &amp;Downarrow; &amp;DoubleDownArrow;\n⇔\n&amp;hArr; &amp;Leftrightarrow; &amp;DoubleLeftRightArrow; &amp;iff;\n⇕\n&amp;vArr; &amp;Updownarrow; &amp;DoubleUpDownArrow;\n⇖\n&amp;nwArr;\n⇗\n&amp;neArr;\n⇘\n&amp;seArr;\n⇙\n&amp;swArr;\n⇚\n&amp;lAarr; &amp;Lleftarrow;\n⇛\n&amp;rAarr; &amp;Rrightarrow;\n⇝\n&amp;zigrarr;\n⇤\n&amp;larrb; &amp;LeftArrowBar;\n⇥\n&amp;rarrb; &amp;RightArrowBar;\n⇵\n&amp;duarr; &amp;DownArrowUpArrow;\n⇽\n&amp;loarr;\n⇾\n&amp;roarr;\n⇿\n&amp;hoarr;\n∀\n&amp;forall; &amp;ForAll;\n∁\n&amp;comp; &amp;complement;\n∂\n&amp;part; &amp;PartialD;\n∃\n&amp;exist; &amp;Exists;\n∄\n&amp;nexist; &amp;NotExists; &amp;nexists;\n∅\n&amp;empty; &amp;emptyset; &amp;emptyv; &amp;varnothing;\n∇\n&amp;nabla; &amp;Del;\n∈\n&amp;isin; &amp;isinv; &amp;Element; &amp;in;\n∉\n&amp;notin; &amp;NotElement; &amp;notinva;\n∋\n&amp;niv; &amp;ReverseElement; &amp;ni; &amp;SuchThat;\n∌\n&amp;notni; &amp;notniva; &amp;NotReverseElement;\n∏\n&amp;prod; &amp;Product;\n∐\n&amp;coprod; &amp;Coproduct;\n∑\n&amp;sum; &amp;Sum;\n−\n&amp;minus;\n∓\n&amp;mnplus; &amp;mp; &amp;MinusPlus;\n∔\n&amp;plusdo; &amp;dotplus;\n∖\n&amp;setmn; &amp;setminus; &amp;Backslash; &amp;ssetmn; &amp;smallsetminus;\n∗\n&amp;lowast;\n∘\n&amp;compfn; &amp;SmallCircle;\n√\n&amp;radic; &amp;Sqrt;\n∝\n&amp;prop; &amp;propto; &amp;Proportional; &amp;vprop; &amp;varpropto;\n∞\n&amp;infin;\n∟\n&amp;angrt;\n∠\n&amp;ang; &amp;angle;\n∡\n&amp;angmsd; &amp;measuredangle;\n∢\n&amp;angsph;\n∣\n&amp;mid; &amp;VerticalBar; &amp;smid; &amp;shortmid;\n∤\n&amp;nmid; &amp;NotVerticalBar; &amp;nsmid; &amp;nshortmid;\n∥\n&amp;par; &amp;parallel; &amp;DoubleVerticalBar; &amp;spar; &amp;shortparallel;\n∦\n&amp;npar; &amp;nparallel; &amp;NotDoubleVerticalBar; &amp;nspar; &amp;nshortparallel;\n∧\n&amp;and; &amp;wedge;\n∨\n&amp;or; &amp;vee;\n∩\n&amp;cap;\n∪\n&amp;cup;\n∫\n&amp;int; &amp;Integral;\n∬\n&amp;Int;\n∭\n&amp;tint; &amp;iiint;\n∮\n&amp;conint; &amp;oint; &amp;ContourIntegral;\n∯\n&amp;Conint; &amp;DoubleContourIntegral;\n∰\n&amp;Cconint;\n∱\n&amp;cwint;\n∲\n&amp;cwconint; &amp;ClockwiseContourIntegral;\n∳\n&amp;awconint; &amp;CounterClockwiseContourIntegral;\n∴\n&amp;there4; &amp;therefore; &amp;Therefore;\n∵\n&amp;becaus; &amp;because; &amp;Because;\n∶\n&amp;ratio;\n∷\n&amp;Colon; &amp;Proportion;\n∸\n&amp;minusd; &amp;dotminus;\n∺\n&amp;mDDot;\n∻\n&amp;homtht;\n∼\n&amp;sim; &amp;Tilde; &amp;thksim; &amp;thicksim;\n∽\n&amp;bsim; &amp;backsim;\n∾\n&amp;ac; &amp;mstpos;\n∿\n&amp;acd;\n≀\n&amp;wreath; &amp;VerticalTilde; &amp;wr;\n≁\n&amp;nsim; &amp;NotTilde;\n≂\n&amp;esim; &amp;EqualTilde; &amp;eqsim;\n≃\n&amp;sime; &amp;TildeEqual; &amp;simeq;\n≄\n&amp;nsime; &amp;nsimeq; &amp;NotTildeEqual;\n≅\n&amp;cong; &amp;TildeFullEqual;\n≆\n&amp;simne;\n≇\n&amp;ncong; &amp;NotTildeFullEqual;\n≈\n&amp;asymp; &amp;ap; &amp;TildeTilde; &amp;approx; &amp;thkap; &amp;thickapprox;\n≉\n&amp;nap; &amp;NotTildeTilde; &amp;napprox;\n≊\n&amp;ape; &amp;approxeq;\n≋\n&amp;apid;\n≌\n&amp;bcong; &amp;backcong;\n≍\n&amp;asympeq; &amp;CupCap;\n≎\n&amp;bump; &amp;HumpDownHump; &amp;Bumpeq;\n≏\n&amp;bumpe; &amp;HumpEqual; &amp;bumpeq;\n≐\n&amp;esdot; &amp;DotEqual; &amp;doteq;\n≑\n&amp;eDot; &amp;doteqdot;\n≒\n&amp;efDot; &amp;fallingdotseq;\n≓\n&amp;erDot; &amp;risingdotseq;\n≔\n&amp;colone; &amp;coloneq; &amp;Assign;\n≕\n&amp;ecolon; &amp;eqcolon;\n≖\n&amp;ecir; &amp;eqcirc;\n≗\n&amp;cire; &amp;circeq;\n≙\n&amp;wedgeq;\n≚\n&amp;veeeq;\n≜\n&amp;trie; &amp;triangleq;\n≟\n&amp;equest; &amp;questeq;\n≠\n&amp;ne; &amp;NotEqual;\n≡\n&amp;equiv; &amp;Congruent;\n≢\n&amp;nequiv; &amp;NotCongruent;\n≤\n&amp;le; &amp;leq;\n≥\n&amp;ge; &amp;GreaterEqual; &amp;geq;\n≦\n&amp;lE; &amp;LessFullEqual; &amp;leqq;\n≧\n&amp;gE; &amp;GreaterFullEqual; &amp;geqq;\n≨\n&amp;lnE; &amp;lneqq;\n≩\n&amp;gnE; &amp;gneqq;\n≪\n&amp;Lt; &amp;NestedLessLess; &amp;ll;\n≫\n&amp;Gt; &amp;NestedGreaterGreater; &amp;gg;\n≬\n&amp;twixt; &amp;between;\n≭\n&amp;NotCupCap;\n≮\n&amp;nlt; &amp;NotLess; &amp;nless;\n≯\n&amp;ngt; &amp;NotGreater; &amp;ngtr;\n≰\n&amp;nle; &amp;NotLessEqual; &amp;nleq;\n≱\n&amp;nge; &amp;NotGreaterEqual; &amp;ngeq;\n≲\n&amp;lsim; &amp;LessTilde; &amp;lesssim;\n≳\n&amp;gsim; &amp;gtrsim; &amp;GreaterTilde;\n≴\n&amp;nlsim; &amp;NotLessTilde;\n≵\n&amp;ngsim; &amp;NotGreaterTilde;\n≶\n&amp;lg; &amp;lessgtr; &amp;LessGreater;\n≷\n&amp;gl; &amp;gtrless; &amp;GreaterLess;\n≸\n&amp;ntlg; &amp;NotLessGreater;\n≹\n&amp;ntgl; &amp;NotGreaterLess;\n≺\n&amp;pr; &amp;Precedes; &amp;prec;\n≻\n&amp;sc; &amp;Succeeds; &amp;succ;\n≼\n&amp;prcue; &amp;PrecedesSlantEqual; &amp;preccurlyeq;\n≽\n&amp;sccue; &amp;SucceedsSlantEqual; &amp;succcurlyeq;\n≾\n&amp;prsim; &amp;precsim; &amp;PrecedesTilde;\n≿\n&amp;scsim; &amp;succsim; &amp;SucceedsTilde;\n⊀\n&amp;npr; &amp;nprec; &amp;NotPrecedes;\n⊁\n&amp;nsc; &amp;nsucc; &amp;NotSucceeds;\n⊂\n&amp;sub; &amp;subset;\n⊃\n&amp;sup; &amp;supset; &amp;Superset;\n⊄\n&amp;nsub;\n⊅\n&amp;nsup;\n⊆\n&amp;sube; &amp;SubsetEqual; &amp;subseteq;\n⊇\n&amp;supe; &amp;supseteq; &amp;SupersetEqual;\n⊈\n&amp;nsube; &amp;nsubseteq; &amp;NotSubsetEqual;\n⊉\n&amp;nsupe; &amp;nsupseteq; &amp;NotSupersetEqual;\n⊊\n&amp;subne; &amp;subsetneq;\n⊋\n&amp;supne; &amp;supsetneq;\n⊍\n&amp;cupdot;\n⊎\n&amp;uplus; &amp;UnionPlus;\n⊏\n&amp;sqsub; &amp;SquareSubset; &amp;sqsubset;\n⊐\n&amp;sqsup; &amp;SquareSuperset; &amp;sqsupset;\n⊑\n&amp;sqsube; &amp;SquareSubsetEqual; &amp;sqsubseteq;\n⊒\n&amp;sqsupe; &amp;SquareSupersetEqual; &amp;sqsupseteq;\n⊓\n&amp;sqcap; &amp;SquareIntersection;\n⊔\n&amp;sqcup; &amp;SquareUnion;\n⊕\n&amp;oplus; &amp;CirclePlus;\n⊖\n&amp;ominus; &amp;CircleMinus;\n⊗\n&amp;otimes; &amp;CircleTimes;\n⊘\n&amp;osol;\n⊙\n&amp;odot; &amp;CircleDot;\n⊚\n&amp;ocir; &amp;circledcirc;\n⊛\n&amp;oast; &amp;circledast;\n⊝\n&amp;odash; &amp;circleddash;\n⊞\n&amp;plusb; &amp;boxplus;\n⊟\n&amp;minusb; &amp;boxminus;\n⊠\n&amp;timesb; &amp;boxtimes;\n⊡\n&amp;sdotb; &amp;dotsquare;\n⊢\n&amp;vdash; &amp;RightTee;\n⊣\n&amp;dashv; &amp;LeftTee;\n⊤\n&amp;top; &amp;DownTee;\n⊥\n&amp;bottom; &amp;bot; &amp;perp; &amp;UpTee;\n⊧\n&amp;models;\n⊨\n&amp;vDash; &amp;DoubleRightTee;\n⊩\n&amp;Vdash;\n⊪\n&amp;Vvdash;\n⊫\n&amp;VDash;\n⊬\n&amp;nvdash;\n⊭\n&amp;nvDash;\n⊮\n&amp;nVdash;\n⊯\n&amp;nVDash;\n⊰\n&amp;prurel;\n⊲\n&amp;vltri; &amp;vartriangleleft; &amp;LeftTriangle;\n⊳\n&amp;vrtri; &amp;vartriangleright; &amp;RightTriangle;\n⊴\n&amp;ltrie; &amp;trianglelefteq; &amp;LeftTriangleEqual;\n⊵\n&amp;rtrie; &amp;trianglerighteq; &amp;RightTriangleEqual;\n⊶\n&amp;origof;\n⊷\n&amp;imof;\n⊸\n&amp;mumap; &amp;multimap;\n⊹\n&amp;hercon;\n⊺\n&amp;intcal; &amp;intercal;\n⊻\n&amp;veebar;\n⊽\n&amp;barvee;\n⊾\n&amp;angrtvb;\n⊿\n&amp;lrtri;\n⋀\n&amp;xwedge; &amp;Wedge; &amp;bigwedge;\n⋁\n&amp;xvee; &amp;Vee; &amp;bigvee;\n⋂\n&amp;xcap; &amp;Intersection; &amp;bigcap;\n⋃\n&amp;xcup; &amp;Union; &amp;bigcup;\n⋄\n&amp;diam; &amp;diamond; &amp;Diamond;\n⋅\n&amp;sdot;\n⋆\n&amp;sstarf; &amp;Star;\n⋇\n&amp;divonx; &amp;divideontimes;\n⋈\n&amp;bowtie;\n⋉\n&amp;ltimes;\n⋊\n&amp;rtimes;\n⋋\n&amp;lthree; &amp;leftthreetimes;\n⋌\n&amp;rthree; &amp;rightthreetimes;\n⋍\n&amp;bsime; &amp;backsimeq;\n⋎\n&amp;cuvee; &amp;curlyvee;\n⋏\n&amp;cuwed; &amp;curlywedge;\n⋐\n&amp;Sub; &amp;Subset;\n⋑\n&amp;Sup; &amp;Supset;\n⋒\n&amp;Cap;\n⋓\n&amp;Cup;\n⋔\n&amp;fork; &amp;pitchfork;\n⋕\n&amp;epar;\n⋖\n&amp;ltdot; &amp;lessdot;\n⋗\n&amp;gtdot; &amp;gtrdot;\n⋘\n&amp;Ll;\n⋙\n&amp;Gg; &amp;ggg;\n⋚\n&amp;leg; &amp;LessEqualGreater; &amp;lesseqgtr;\n⋛\n&amp;gel; &amp;gtreqless; &amp;GreaterEqualLess;\n⋞\n&amp;cuepr; &amp;curlyeqprec;\n⋟\n&amp;cuesc; &amp;curlyeqsucc;\n⋠\n&amp;nprcue; &amp;NotPrecedesSlantEqual;\n⋡\n&amp;nsccue; &amp;NotSucceedsSlantEqual;\n⋢\n&amp;nsqsube; &amp;NotSquareSubsetEqual;\n⋣\n&amp;nsqsupe; &amp;NotSquareSupersetEqual;\n⋦\n&amp;lnsim;\n⋧\n&amp;gnsim;\n⋨\n&amp;prnsim; &amp;precnsim;\n⋩\n&amp;scnsim; &amp;succnsim;\n⋪\n&amp;nltri; &amp;ntriangleleft; &amp;NotLeftTriangle;\n⋫\n&amp;nrtri; &amp;ntriangleright; &amp;NotRightTriangle;\n⋬\n&amp;nltrie; &amp;ntrianglelefteq; &amp;NotLeftTriangleEqual;\n⋭\n&amp;nrtrie; &amp;ntrianglerighteq; &amp;NotRightTriangleEqual;\n⋮\n&amp;vellip;\n⋯\n&amp;ctdot;\n⋰\n&amp;utdot;\n⋱\n&amp;dtdot;\n⋲\n&amp;disin;\n⋳\n&amp;isinsv;\n⋴\n&amp;isins;\n⋵\n&amp;isindot;\n⋶\n&amp;notinvc;\n⋷\n&amp;notinvb;\n⋹\n&amp;isinE;\n⋺\n&amp;nisd;\n⋻\n&amp;xnis;\n⋼\n&amp;nis;\n⋽\n&amp;notnivc;\n⋾\n&amp;notnivb;\n⌅\n&amp;barwed; &amp;barwedge;\n⌆\n&amp;Barwed; &amp;doublebarwedge;\n⌈\n&amp;lceil; &amp;LeftCeiling;\n⌉\n&amp;rceil; &amp;RightCeiling;\n⌊\n&amp;lfloor; &amp;LeftFloor;\n⌋\n&amp;rfloor; &amp;RightFloor;\n⌌\n&amp;drcrop;\n⌍\n&amp;dlcrop;\n⌎\n&amp;urcrop;\n⌏\n&amp;ulcrop;\n⌐\n&amp;bnot;\n⌒\n&amp;profline;\n⌓\n&amp;profsurf;\n⌕\n&amp;telrec;\n⌖\n&amp;target;\n⌜\n&amp;ulcorn; &amp;ulcorner;\n⌝\n&amp;urcorn; &amp;urcorner;\n⌞\n&amp;dlcorn; &amp;llcorner;\n⌟\n&amp;drcorn; &amp;lrcorner;\n⌢\n&amp;frown; &amp;sfrown;\n⌣\n&amp;smile; &amp;ssmile;\n⌭\n&amp;cylcty;\n⌮\n&amp;profalar;\n⌶\n&amp;topbot;\n⌽\n&amp;ovbar;\n⌿\n&amp;solbar;\n⍼\n&amp;angzarr;\n⎰\n&amp;lmoust; &amp;lmoustache;\n⎱\n&amp;rmoust; &amp;rmoustache;\n⎴\n&amp;tbrk; &amp;OverBracket;\n⎵\n&amp;bbrk; &amp;UnderBracket;\n⎶\n&amp;bbrktbrk;\n⏜\n&amp;OverParenthesis;\n⏝\n&amp;UnderParenthesis;\n⏞\n&amp;OverBrace;\n⏟\n&amp;UnderBrace;\n⏢\n&amp;trpezium;\n⏧\n&amp;elinters;\n␣\n&amp;blank;\nⓈ\n&amp;oS; &amp;circledS;\n─\n&amp;boxh; &amp;HorizontalLine;\n│\n&amp;boxv;\n┌\n&amp;boxdr;\n┐\n&amp;boxdl;\n└\n&amp;boxur;\n┘\n&amp;boxul;\n├\n&amp;boxvr;\n┤\n&amp;boxvl;\n┬\n&amp;boxhd;\n┴\n&amp;boxhu;\n┼\n&amp;boxvh;\n═\n&amp;boxH;\n║\n&amp;boxV;\n╒\n&amp;boxdR;\n╓\n&amp;boxDr;\n╔\n&amp;boxDR;\n╕\n&amp;boxdL;\n╖\n&amp;boxDl;\n╗\n&amp;boxDL;\n╘\n&amp;boxuR;\n╙\n&amp;boxUr;\n╚\n&amp;boxUR;\n╛\n&amp;boxuL;\n╜\n&amp;boxUl;\n╝\n&amp;boxUL;\n╞\n&amp;boxvR;\n╟\n&amp;boxVr;\n╠\n&amp;boxVR;\n╡\n&amp;boxvL;\n╢\n&amp;boxVl;\n╣\n&amp;boxVL;\n╤\n&amp;boxHd;\n╥\n&amp;boxhD;\n╦\n&amp;boxHD;\n╧\n&amp;boxHu;\n╨\n&amp;boxhU;\n╩\n&amp;boxHU;\n╪\n&amp;boxvH;\n╫\n&amp;boxVh;\n╬\n&amp;boxVH;\n▀\n&amp;uhblk;\n▄\n&amp;lhblk;\n█\n&amp;block;\n░\n&amp;blk14;\n▒\n&amp;blk12;\n▓\n&amp;blk34;\n□\n&amp;squ; &amp;square; &amp;Square;\n▪\n&amp;squf; &amp;squarf; &amp;blacksquare; &amp;FilledVerySmallSquare;\n▫\n&amp;EmptyVerySmallSquare;\n▭\n&amp;rect;\n▮\n&amp;marker;\n▱\n&amp;fltns;\n△\n&amp;xutri; &amp;bigtriangleup;\n▴\n&amp;utrif; &amp;blacktriangle;\n▵\n&amp;utri; &amp;triangle;\n▸\n&amp;rtrif; &amp;blacktriangleright;\n▹\n&amp;rtri; &amp;triangleright;\n▽\n&amp;xdtri; &amp;bigtriangledown;\n▾\n&amp;dtrif; &amp;blacktriangledown;\n▿\n&amp;dtri; &amp;triangledown;\n◂\n&amp;ltrif; &amp;blacktriangleleft;\n◃\n&amp;ltri; &amp;triangleleft;\n◊\n&amp;loz; &amp;lozenge;\n○\n&amp;cir;\n◬\n&amp;tridot;\n◯\n&amp;xcirc; &amp;bigcirc;\n◸\n&amp;ultri;\n◹\n&amp;urtri;\n◺\n&amp;lltri;\n◻\n&amp;EmptySmallSquare;\n◼\n&amp;FilledSmallSquare;\n★\n&amp;starf; &amp;bigstar;\n☆\n&amp;star;\n☎\n&amp;phone;\n♀\n&amp;female;\n♂\n&amp;male;\n♠\n&amp;spades; &amp;spadesuit;\n♣\n&amp;clubs; &amp;clubsuit;\n♥\n&amp;hearts; &amp;heartsuit;\n♦\n&amp;diams; &amp;diamondsuit;\n♪\n&amp;sung;\n♭\n&amp;flat;\n♮\n&amp;natur; &amp;natural;\n♯\n&amp;sharp;\n✓\n&amp;check; &amp;checkmark;\n✗\n&amp;cross;\n✠\n&amp;malt; &amp;maltese;\n✶\n&amp;sext;\n❘\n&amp;VerticalSeparator;\n❲\n&amp;lbbrk;\n❳\n&amp;rbbrk;\n⟦\n&amp;lobrk; &amp;LeftDoubleBracket;\n⟧\n&amp;robrk; &amp;RightDoubleBracket;\n⟨\n&amp;lang; &amp;LeftAngleBracket; &amp;langle;\n⟩\n&amp;rang; &amp;RightAngleBracket; &amp;rangle;\n⟪\n&amp;Lang;\n⟫\n&amp;Rang;\n⟬\n&amp;loang;\n⟭\n&amp;roang;\n⟵\n&amp;xlarr; &amp;longleftarrow; &amp;LongLeftArrow;\n⟶\n&amp;xrarr; &amp;longrightarrow; &amp;LongRightArrow;\n⟷\n&amp;xharr; &amp;longleftrightarrow; &amp;LongLeftRightArrow;\n⟸\n&amp;xlArr; &amp;Longleftarrow; &amp;DoubleLongLeftArrow;\n⟹\n&amp;xrArr; &amp;Longrightarrow; &amp;DoubleLongRightArrow;\n⟺\n&amp;xhArr; &amp;Longleftrightarrow; &amp;DoubleLongLeftRightArrow;\n⟼\n&amp;xmap; &amp;longmapsto;\n⟿\n&amp;dzigrarr;\n⤂\n&amp;nvlArr;\n⤃\n&amp;nvrArr;\n⤄\n&amp;nvHarr;\n⤅\n&amp;Map;\n⤌\n&amp;lbarr;\n⤍\n&amp;rbarr; &amp;bkarow;\n⤎\n&amp;lBarr;\n⤏\n&amp;rBarr; &amp;dbkarow;\n⤐\n&amp;RBarr; &amp;drbkarow;\n⤑\n&amp;DDotrahd;\n⤒\n&amp;UpArrowBar;\n⤓\n&amp;DownArrowBar;\n⤖\n&amp;Rarrtl;\n⤙\n&amp;latail;\n⤚\n&amp;ratail;\n⤛\n&amp;lAtail;\n⤜\n&amp;rAtail;\n⤝\n&amp;larrfs;\n⤞\n&amp;rarrfs;\n⤟\n&amp;larrbfs;\n⤠\n&amp;rarrbfs;\n⤣\n&amp;nwarhk;\n⤤\n&amp;nearhk;\n⤥\n&amp;searhk; &amp;hksearow;\n⤦\n&amp;swarhk; &amp;hkswarow;\n⤧\n&amp;nwnear;\n⤨\n&amp;nesear; &amp;toea;\n⤩\n&amp;seswar; &amp;tosa;\n⤪\n&amp;swnwar;\n⤳\n&amp;rarrc;\n⤵\n&amp;cudarrr;\n⤶\n&amp;ldca;\n⤷\n&amp;rdca;\n⤸\n&amp;cudarrl;\n⤹\n&amp;larrpl;\n⤼\n&amp;curarrm;\n⤽\n&amp;cularrp;\n⥅\n&amp;rarrpl;\n⥈\n&amp;harrcir;\n⥉\n&amp;Uarrocir;\n⥊\n&amp;lurdshar;\n⥋\n&amp;ldrushar;\n⥎\n&amp;LeftRightVector;\n⥏\n&amp;RightUpDownVector;\n⥐\n&amp;DownLeftRightVector;\n⥑\n&amp;LeftUpDownVector;\n⥒\n&amp;LeftVectorBar;\n⥓\n&amp;RightVectorBar;\n⥔\n&amp;RightUpVectorBar;\n⥕\n&amp;RightDownVectorBar;\n⥖\n&amp;DownLeftVectorBar;\n⥗\n&amp;DownRightVectorBar;\n⥘\n&amp;LeftUpVectorBar;\n⥙\n&amp;LeftDownVectorBar;\n⥚\n&amp;LeftTeeVector;\n⥛\n&amp;RightTeeVector;\n⥜\n&amp;RightUpTeeVector;\n⥝\n&amp;RightDownTeeVector;\n⥞\n&amp;DownLeftTeeVector;\n⥟\n&amp;DownRightTeeVector;\n⥠\n&amp;LeftUpTeeVector;\n⥡\n&amp;LeftDownTeeVector;\n⥢\n&amp;lHar;\n⥣\n&amp;uHar;\n⥤\n&amp;rHar;\n⥥\n&amp;dHar;\n⥦\n&amp;luruhar;\n⥧\n&amp;ldrdhar;\n⥨\n&amp;ruluhar;\n⥩\n&amp;rdldhar;\n⥪\n&amp;lharul;\n⥫\n&amp;llhard;\n⥬\n&amp;rharul;\n⥭\n&amp;lrhard;\n⥮\n&amp;udhar; &amp;UpEquilibrium;\n⥯\n&amp;duhar; &amp;ReverseUpEquilibrium;\n⥰\n&amp;RoundImplies;\n⥱\n&amp;erarr;\n⥲\n&amp;simrarr;\n⥳\n&amp;larrsim;\n⥴\n&amp;rarrsim;\n⥵\n&amp;rarrap;\n⥶\n&amp;ltlarr;\n⥸\n&amp;gtrarr;\n⥹\n&amp;subrarr;\n⥻\n&amp;suplarr;\n⥼\n&amp;lfisht;\n⥽\n&amp;rfisht;\n⥾\n&amp;ufisht;\n⥿\n&amp;dfisht;\n⦅\n&amp;lopar;\n⦆\n&amp;ropar;\n⦋\n&amp;lbrke;\n⦌\n&amp;rbrke;\n⦍\n&amp;lbrkslu;\n⦎\n&amp;rbrksld;\n⦏\n&amp;lbrksld;\n⦐\n&amp;rbrkslu;\n⦑\n&amp;langd;\n⦒\n</code></pre>\n\n<p>Not fully, pls track the link for fully document.</p>\n'}, {'answer_id': 52678432, 'author': 'N Randhawa', 'author_id': 4854721, 'author_profile': 'https://Stackoverflow.com/users/4854721', 'pm_score': 3, 'selected': False, 'text': "<p>The  differences between htmlspecialchars() and htmlentities() is very small. Lets see some examples:</p>\n\n<blockquote>\n  <p>htmlspecialchars</p>\n</blockquote>\n\n<p><strong>htmlspecialchars(string $string)</strong>  takes multiple arguments where as the first argument is a string and all other arguments (certain flags, certain encodings etc. ) are optional. <strong>htmlspecialchars</strong>   converts special characters in the string to HTML entities. For example if you have  <strong>&lt; br &gt;</strong>  in your string, <strong>htmlspecialchars</strong> will convert it into <strong>&amp;lt; b &amp;gt;</strong>. Whereas   characters like  µ † etc. have no  special significance in HTML. So they will be not converted to  HTML entities by <strong>htmlspecialchars</strong> function as shown in the below example. </p>\n\n<pre><code>echo htmlspecialchars('An example &lt;br&gt;'); // This will print - An example &amp;lt; br &amp;gt;\necho htmlspecialchars('µ †');             // This will print -  µ †\n</code></pre>\n\n<blockquote>\n  <p>htmlentities </p>\n</blockquote>\n\n<p><strong>htmlentities ( string $string)</strong> is very similar to  <strong>htmlspecialchars</strong> and takes multiple arguments where as the first argument is a string and all other arguments are optional (certain flags, certain encodings etc.). Unlike  <strong>htmlspecialchars</strong>,   <strong>htmlentities</strong> converts not only special characters in the string to HTML entities but all applicable characters to HTML entities.</p>\n\n<pre><code>echo htmlentities('An example &lt;br&gt;'); // This will print - An example &amp;lt; br &amp;gt;\necho htmlentities('µ †');             // This will print -  &amp;micro; &amp;dagger; \n</code></pre>\n"}]
['https://Stackoverflow.com/questions/46483', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4137/']