str::utf8
Converts a string to UTF-8
str::utf8($string)
Parameters
$string (string)
Return values
string