JString::transcode
Transcode a string.
Signature
public function transcode(string
$source,
string
$from_encoding,
string
$to_encoding )
Parameters
-
$source
- The string to transcode.
-
$from_encoding
- The source encoding.
-
$to_encoding
- The target encoding.
Returns
- mixed
- The transcoded string, or null if the source was not a string.