references:joomla.framework:document:jdocument-setcharsetTable of Contents
setCharset
Sets the character set of the current document. Syntaxvoid setCharset ( $type )
ExamplesSet the character set of the current document. Example global $mainframe; $document =& JFactory::getDocument(); $document->setCharset( 'utf-8' ); echo "Character Set: " . $document->getCharset(); Might produce: Result Character Set: utf-8
|


