No edit summary |
(Removed from "Needs Work") |
||
(One intermediate revision 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. | |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]] | ||
</noinclude> |
Latest revision as of 14:00, 2 August 2013
This function should never be used outside the database abstraction layer (Db-*.php or Subs-Db-*.php files) |
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.