diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-14 17:08:17 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-14 17:08:17 +0200 |
commit | cafd63e83b20c40b1d9bd234dd2c20b2cdaab2c1 (patch) | |
tree | 57c0c6e2becc6ae98896315047785546eb3a4c25 /system/database | |
parent | 97bc010749830b183fffa7c5faf29744c095864e (diff) |
set $DB->char_set and $DB->dbcollat defaults to utf8 and utf8_general_ci respectively
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index c9cece621..eeaf6ea78 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -36,8 +36,8 @@ class CI_DB_driver { var $database;
var $dbdriver = 'mysql';
var $dbprefix = '';
- var $char_set = '';
- var $dbcollat = '';
+ var $char_set = 'utf8';
+ var $dbcollat = 'utf8_general_ci';
var $autoinit = TRUE; // Whether to automatically initialize the DB
var $swap_pre = '';
var $port = '';
|