Encode string to UTF-8
static public encodeInUtf8 ( $string, $from_charset = "ISO-8859-1" ) : utf8 | ||
$string | string string to convert | |
$from_charset | string original charset (if 'auto' try to autodetect) (default "ISO-8859-1") | |
return | utf8 | string |