str::convert($string, $targetEncoding, $sourceEncoding = null)

Converts a string to a different encoding

  • $string (string)
  • $targetEncoding (string)
  • $sourceEncoding (string)
    (optional)
  • return (string)

Is something missing or incorrect? Edit this page on Github…