public function db_set_charset($charset)
{
if (method_exists($this, '_db_set_charset') && !$this->_db_set_charset($charset)) {
log_message('error', 'Unable to set database connection charset: ' . $charset);
if ($this->db_debug) {
$this->display_error('db_unable_to_set_charset', $charset);
}
return FALSE;
}
return TRUE;
}