str::encoding

Tries to detect the string encoding

str::encoding($string)

Parameters

$string (string)

Return values

string