Entity fix: Difference between revisions From Online Manual

Jump to: navigation, search
(slight rewording of why entity_fix is important; usage note is left out for a reason. It should generally not be added to any code.)
(Removed from "Needs Work")
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|function=entity_fix
|function=entity_fix
|internal=true
|internal=true
|description=Only used by other string utility functions, such as [[htmlspecialchars]], [[htmltrim]], [[strpos]], [[substr]], and [[truncate]] to deal with numerical html entities found in the string. entity_fix is important to how these functions deal with user-input characters that are outside the forum's declared character set.
|description=Only used by other string utility functions, such as [[htmlspecialchars]], [[htmltrim]], [[strpos]], [[substr]], and [[truncate]] to deal with numerical html entities found in the string. These functions are important to the way SMF deals with user-input characters that are outside the forum's declared character set.
}}
}}
<noinclude>
<noinclude>
[[Category:General Utility Functions]]
[[Category:General Utility Functions]]
{{needs work}}</noinclude>
</noinclude>

Latest revision as of 14:00, 2 August 2013


Description: Only used by other string utility functions, such as htmlspecialchars, htmltrim, strpos, substr, and truncate to deal with numerical html entities found in the string. These functions are important to the way SMF deals with user-input characters that are outside the forum's declared character set.



Advertisement: