Entity fix: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
(Why we have entity-fix at all.)
Line 2: Line 2:
|function=entity_fix
|function=entity_fix
|internal=true
|internal=true
}}
|description=Not meant to be called directly. 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 gracefully 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:26, 11 October 2012

{{smcfunc |function=entity_fix |internal=true |description=Not meant to be called directly. 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 gracefully with user-input characters that are outside the forum's declared character set.



Advertisement: