setCharSet

Syntax
string setCharSet(
    string characterSet
)

Sets the locale string for the database connection

Example

/*
* Set the connection character set to French
*/
$db->setCharSet('FR');