Str::convert()
Converts a string to a different encoding
Parameters
Name | Type | Default |
---|---|---|
$string * | string |
– |
$targetEncoding * | string |
– |
$sourceEncoding | string |null |
null |
Return type
string