Commit 1be68138 authored by Karamel's avatar Karamel
Browse files

Yet another fix about database import encoding.

parent 292d6685
......@@ -50,7 +50,7 @@ switch ($db7['type']) {
case 'mysql':
$dsn = 'mysql:dbname=' . $db7['name'] . ';host='
. $db7['host'] . ';port=' . $db7['port'];
$options = array(); //array(\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\'');
$options = array(\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\'');
$attributes = array(\PDO::ATTR_CASE => \PDO::CASE_UPPER);
break;
case 'postgresql':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment