Manual
API
is_utf8 ( string $str ) : bool
str
Returns true if the provided string is a valid UTF-8 string.