API17

API17:JDocument::setCharset

From Joomla! Documentation

Revision as of 15:18, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDocument::setCharset

Description

Sets the document charset.

{{subst:Description:JDocument::setCharset}}

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

{{subst:SeeAlso:JDocument::setCharset}}

User contributed notes

<CodeExamplesForm />