Page MenuHomePhorge

function phutil_is_utf8($string)
libphutil Technical Documentation (Core Utilities)

Determine if a string is valid UTF-8.

Parameters
string$stringSome string which may or may not be valid UTF-8.
Return
boolTrue if the string is valid UTF-8.