Entity fix: Difference between revisions From Online Manual

Jump to: navigation, search
m ([)
(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.)
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. These functions are important to the way SMF deals 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. entity_fix is important to how these functions deal 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>
{{needs work}}</noinclude>

Revision as of 14:41, 11 October 2012


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.



Advertisement: