From e8dd86ce0de9ec0d7c1774c62281451445b26c92 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sat, 16 Jun 2012 19:48:03 -0400 Subject: [PATCH] Revert "Set default charset to utf-8." This reverts commit 709dbd82a60363555b613b381f73d942f9fdbcc4. --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index a0ad499b60..bcc8657b4a 100644 --- a/lib/db.php +++ b/lib/db.php @@ -120,7 +120,7 @@ class OC_DB { }else{ $dsn='mysql:dbname='.$name.';host='.$host; } - $opts[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES 'UTF8'; SET CHARACTER SET 'UTF8';"; + $opts[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES 'UTF8'"; break; case 'pgsql': if($port){