File: wp-includes/utf8.php
-
functionwp_is_valid_utf8()
Determines if a given byte string represents a valid UTF-8 encoding.
-
functionwp_scrub_utf8()
Replaces ill-formed UTF-8 byte sequences with the Unicode Replacement Character.
-
functionwp_has_noncharacters()
Returns whether the given string contains Unicode noncharacters.