Expand description
Unicode and HTML entity encoding strategies. Unicode and HTML entity encoding strategies.
Functions§
- fullwidth_
encode - Fullwidth Unicode encoding — replaces ASCII with fullwidth equivalents.
- homoglyph_
encode - Homoglyph substitution — replaces select ASCII characters with visually identical Unicode characters from other scripts.
- html_
entity_ decimal_ encode - HTML decimal entity encoding — each character becomes
&#DD;. - html_
entity_ encode - HTML entity encoding — each character becomes
&#xXX;. - iis_
unicode_ encode - IIS/ASP percent Unicode encoding — each character becomes
%uXXXX. - json_
string_ encode - JSON string encoding — wraps the payload in a JSON string with proper escaping.
- unicode_
encode - Unicode encoding — each character becomes
\uXXXX.