File: wp-includes/compat-utf8.php
-
function_wp_has_noncharacters_fallback()
Fallback support for determining if a string contains Unicode noncharacters.
-
function_wp_utf8_encode_fallback()
Converts a string from ISO-8859-1 to UTF-8, maintaining backwards compatibility with the deprecated function from the PHP standard library.
-
function_wp_utf8_decode_fallback()
Converts a string from UTF-8 to ISO-8859-1, maintaining backwards compatibility with the deprecated function from the PHP standard library.
-
function_wp_utf8_codepoint_count()
Returns how many code points are found in the given UTF-8 string.
-
function_wp_utf8_codepoint_span()
Given a starting offset within a string and a maximum number of code points, return how many bytes are occupied by the span of characters.
-
function_wp_scan_utf8()
Finds spans of valid and invalid UTF-8 bytes in a given string.
-
function_wp_is_valid_utf8_fallback()
Fallback mechanism for safely validating UTF-8 bytes.
-
function_wp_scrub_utf8_fallback()
Fallback mechanism for replacing invalid spans of UTF-8 bytes.