Note, that a mb_detect_encoding on the returned string will still return ASCII if the entire string is comprised of characters in the 1-127 range.
public static fixEncoding ( string $in_str ) : string | ||
$in_str | string | |
return | string | converted string. |