str::encoding($string)

Tries to detect the string encoding

  • $string (string)
  • return (string)