JDatabaseMySQL/hasUTF
From Joomla! Documentation
< API16:JDatabaseMySQL
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Contents
Description
Determines UTF support
<! removed transcluded page call, red link never existed >
Syntax
hasUTF()
Returns
boolean True - UTF is supported
Defined in
libraries/joomla/database/database/mysql.php
Importing
jimport( 'joomla.database.database.mysql' );
Source Body
public function hasUTF()
{
$verParts = explode('.', $this->getVersion());
return ($verParts[0] == 5 || ($verParts[0] == 4 && $verParts[1] == 1 && (int)$verParts[2] >= 2));
}
<! removed transcluded page call, red link never existed >