diff options
Diffstat (limited to 'inc/auth/mysql.class.php')
-rw-r--r-- | inc/auth/mysql.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php index ea1fa2ae5..3d5af3640 100644 --- a/inc/auth/mysql.class.php +++ b/inc/auth/mysql.class.php @@ -42,6 +42,9 @@ class auth_mysql extends auth_basic { return; } + // default to UTF-8, you rarely want something else + if(!isset($this->cnf['charset'])) $this->cnf['charset'] = 'utf8'; + $this->defaultgroup = $conf['defaultgroup']; // set capabilities based upon config strings set |