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