Commit a43ccc5a authored by Francisco Facioni's avatar Francisco Facioni Committed by Steve Müller

Adds support for setting the charset in SQLSrv

As seen here => http://technet.microsoft.com/en-us/library/cc626307(v=sql.105).aspx
parent 18d4a9d7
......@@ -44,6 +44,10 @@ class Driver extends AbstractSQLServerDriver
$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