JString::transcode: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Transcode a string. | Transcode a string. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 44: | Line 44: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | ||
* [[API17:JString::transcode|Other versions of JString::transcode]] | * [[API17:JString::transcode|Other versions of JString::transcode]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JString::transcode | category=JString::transcode | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:46, 25 March 2017
JString::transcode
Description
Transcode a string.
public static function transcode (
$source
$from_encoding
$to_encoding
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $source | string | The string to transcode. | |
| $from_encoding | string | The source encoding. | |
| $to_encoding | string | The target encoding. |
See also
JString::transcode source code on BitBucket
Class JString
Subpackage Utilities- Other versions of JString::transcode
User contributed notes
Code Examples