Commit 6873b7e7 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'PDOCharset' into 2.0.x

parents 4e040e0f efabb3cf
...@@ -68,6 +68,9 @@ class Driver implements \Doctrine\DBAL\Driver ...@@ -68,6 +68,9 @@ class Driver implements \Doctrine\DBAL\Driver
if (isset($params['unix_socket'])) { if (isset($params['unix_socket'])) {
$dsn .= 'unix_socket=' . $params['unix_socket'] . ';'; $dsn .= 'unix_socket=' . $params['unix_socket'] . ';';
} }
if (isset($params['charset'])) {
$dsn .= 'charset=' . $params['charset'] . ';';
}
return $dsn; return $dsn;
} }
......
Markdown is supported
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