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:
Sean Harvey 2010-06-03 12:06:26 +00:00
parent 7c7e81ac70
commit 1e22a12cd6

View File

@ -129,7 +129,7 @@ class MSSQLDatabase extends SS_Database {
$connectionInfo = array( $connectionInfo = array(
'UID' => $parameters['username'], 'UID' => $parameters['username'],
'PWD' => $parameters['password'], 'PWD' => $parameters['password'],
'CharacterSet' => 'utf8', 'CharacterSet' => 'UTF-8',
); );
} }
$this->dbConn = sqlsrv_connect($parameters['server'], $connectionInfo); $this->dbConn = sqlsrv_connect($parameters['server'], $connectionInfo);