diff options
Diffstat (limited to 'wp-includes/wp-db.php')
-rw-r--r-- | wp-includes/wp-db.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index a3fa04e..88840fe 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -58,6 +58,9 @@ class wpdb { function __construct($dbuser, $dbpassword, $dbname, $dbhost) { register_shutdown_function(array(&$this, "__destruct")); + $this->charset = 'utf8'; + $this->collete = 'utf8'; + if ( defined('DB_CHARSET') ) $this->charset = DB_CHARSET; |