summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-06-16 19:48:03 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-06-16 19:48:03 -0400
commite8dd86ce0de9ec0d7c1774c62281451445b26c92 (patch)
tree9847343fdee65a4d8e497cc4202a13cb59dd55f4
parentb38e46276f247315772c5d46f0c73ea11a139cef (diff)
downloadnextcloud-server-e8dd86ce0de9ec0d7c1774c62281451445b26c92.tar.gz
nextcloud-server-e8dd86ce0de9ec0d7c1774c62281451445b26c92.zip
Revert "Set default charset to utf-8."
This reverts commit 709dbd82a60363555b613b381f73d942f9fdbcc4.
-rw-r--r--lib/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php
index a0ad499b601..bcc8657b4a4 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){