From f8a6199810b7db5ab1ffc221afe9ae54844b0bdc Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 15 Oct 2007 12:29:07 +0000 Subject: Make default characterset utf8 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1073 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/wp-db.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wp-includes') 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; -- cgit