API17

Difference between revisions of "JString::transcode"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Transcode a string.  
 
Transcode a string.  
  
{{Description:JString::transcode}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JString::transcode|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function transcode (
 
public static function transcode (
Line 43: Line 41:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JString::transcode source code''' on [[jplatform:utilities/string.php#cl-496|BitBucket]]
 
* {{JVer|11.1}} '''JString::transcode source code''' on [[jplatform:utilities/string.php#cl-496|BitBucket]]
* {{JVer|11.1}} Class [[JString/11.1|JString]]
+
* {{JVer|11.1}} Class [[API17:JString|JString]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JString::transcode|Other versions of JString::transcode]]
+
* [[API17:JString::transcode|Other versions of JString::transcode]]
{{SeeAlso:JString::transcode}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JString::transcode|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JString::transcode
 
category=JString::transcode
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 61: Line 57:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JString]][[Category:JString::transcode]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:46, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JString::transcode[edit]

Description[edit]

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.
  • Returns string Transcoded string
  • Defined on line 504 of libraries/joomla/utilities/string.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]