Commit fa681850 authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #699 from fran6co/patch-1

Adds support for setting the charset in SQLSrv
parents 501e3e86 309e41dc
......@@ -43,6 +43,10 @@ class Driver extends AbstractSQLServerDriver
if (isset($params['dbname'])) {
$driverOptions['Database'] = $params['dbname'];
}
if (isset($params['charset'])) {
$driverOptions['CharacterSet'] = $params['charset'];
}
$driverOptions['UID'] = $username;
$driverOptions['PWD'] = $password;
......
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