mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
BUGFIX MSSQLDatabase::__construct() should use "UTF-8" as a CharacterSet parameter to sqlsrv_connect(), not "utf8" as it's not recognised by that API
This commit is contained in:
parent
7c7e81ac70
commit
1e22a12cd6
@ -129,7 +129,7 @@ class MSSQLDatabase extends SS_Database {
|
||||
$connectionInfo = array(
|
||||
'UID' => $parameters['username'],
|
||||
'PWD' => $parameters['password'],
|
||||
'CharacterSet' => 'utf8',
|
||||
'CharacterSet' => 'UTF-8',
|
||||
);
|
||||
}
|
||||
$this->dbConn = sqlsrv_connect($parameters['server'], $connectionInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user