From Joomla! Documentation

Replacement filing cabinet.png
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.

Joomla 11.1 JDocument::setCharset


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

SeeAlso:JDocument::setCharset [Edit See Also]

User contributed notes

<CodeExamplesForm />