public function __construct()
{
if (defined('PREG_BAD_UTF8_ERROR') && (ICONV_ENABLED === TRUE or MB_ENABLED === TRUE) && strtoupper(config_item('charset')) === 'UTF-8') {
define('UTF8_ENABLED', TRUE);
log_message('debug', 'UTF-8 Support Enabled');
} else {
define('UTF8_ENABLED', FALSE);
log_message('debug', 'UTF-8 Support Disabled');
}
log_message('info', 'Utf8 Class Initialized');
}