mb_detect_encoding

Parameters
$string #
$encodings = null #
$strict = false #