public static convert_encoding ( $str, $use_enc = null, $from_enc = null ) : mixed | ||
$str | string. The string who's encoding is being changed. | |
$use_enc | string. The encoding to convert to. If not set, the internal encoding will be used. | |
$from_enc | string. encoding before conversion. If not set, encoding is detected automatically. | |
Результат | mixed | The source string in the new encoding or boolean false. |