JDocument::setCharset
From Joomla! Documentation
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.
JDocument::setCharset[edit]
Description[edit]
Sets the document charset.
Template:Description:JDocument::setCharset [Edit Descripton]
Synopsis[edit]
public JDocument::setCharset ($type= 'utf-8')
Parameter | Type | Default | Description |
---|---|---|---|
$type | string | 'utf-8' | Charset encoding string public |
Returns[edit]
void
Defined in[edit]
libraries/joomla/document/document.php (line 493)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDocument::setCharset
Examples[edit]
<CodeExamplesForm />