API17

API17:JDocument::setCharset

From Joomla! Documentation

Revision as of 02:52, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JDocument::setCharset

Description

Sets the document charset.


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


User contributed notes

Code Examples