summaryrefslogtreecommitdiffstats
path: root/wp-includes/wp-db.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-15 12:29:07 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-15 12:29:07 +0000
commitf8a6199810b7db5ab1ffc221afe9ae54844b0bdc (patch)
tree28e6ccabca2eedabd2ee51ece6b292570f0b9b43 /wp-includes/wp-db.php
parentedf7e4dbe00b463784a799f6964df6afcb4f3954 (diff)
downloadwordpress-mu-f8a6199810b7db5ab1ffc221afe9ae54844b0bdc.tar.gz
wordpress-mu-f8a6199810b7db5ab1ffc221afe9ae54844b0bdc.tar.xz
wordpress-mu-f8a6199810b7db5ab1ffc221afe9ae54844b0bdc.zip
Make default characterset utf8
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1073 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/wp-db.php')
-rw-r--r--wp-includes/wp-db.php3
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;