Revert "Set default charset to utf-8."

This reverts commit 709dbd82a6.
This commit is contained in:
Michael Gapczynski 2012-06-16 19:48:03 -04:00
parent b38e46276f
commit e8dd86ce0d

View file

@ -120,7 +120,7 @@ class OC_DB {
}else{ }else{
$dsn='mysql:dbname='.$name.';host='.$host; $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; break;
case 'pgsql': case 'pgsql':
if($port){ if($port){