(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.) |
No edit summary |
||
Line 6: | Line 6: | ||
<noinclude> | <noinclude> | ||
[[Category:General Utility Functions]] | [[Category:General Utility Functions]] | ||
{{needs work}}</noinclude> | {{needs work|incomplete}}</noinclude> |
Revision as of 15:45, 11 October 2012
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. entity_fix is important to how these functions deal with user-input characters that are outside the forum's declared character set.
This article needs some work for the following reason: incomplete This template may be removed when cleanup is complete. |