Skip to content
Snippets Groups Projects
Commit e8dd86ce authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Revert "Set default charset to utf-8."

This reverts commit 709dbd82.
parent b38e4627
No related branches found
No related tags found
No related merge requests found
......@@ -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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment