API17:JDocument::setCharset
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDocument::setCharset
Description
Sets the document charset.
Description:JDocument::setCharset [Edit Descripton]
public function setCharset ($type= 'utf-8')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | string | 'utf-8' | Charset encoding string |
- Returns void
- Defined on line 460 of libraries/joomla/document/document.php
See also
-
JDocument::setCharset source code on BitBucket
-
Class JDocument
-
Subpackage Document
- Other versions of JDocument::setCharset
SeeAlso:JDocument::setCharset [Edit See Also]
User contributed notes
<CodeExamplesForm />
