diff options
author | Derky <derky@phpbb.com> | 2018-01-05 22:44:34 +0100 |
---|---|---|
committer | Derky <derky@phpbb.com> | 2018-01-05 22:44:34 +0100 |
commit | 182a96f2738316adcb292816a9ac8af0e0cb5866 (patch) | |
tree | 0b6a0fb40a2ea201fdf4cfc5e4cc5ebfb4cb46db /phpBB/phpbb/db/driver/mssqlnative.php | |
parent | 2fcb8ab87fb30c57b106695859c2661fc3cc2837 (diff) | |
parent | 98c50695003652fba171e25dd2e171ddffbd72e1 (diff) | |
download | forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar.gz forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar.bz2 forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar.xz forums-182a96f2738316adcb292816a9ac8af0e0cb5866.zip |
Merge pull request #4680 from marc1706/ticket/15055
[ticket/15055] Add appveyor file to allow running tests on appveyor as well
Diffstat (limited to 'phpBB/phpbb/db/driver/mssqlnative.php')
-rw-r--r-- | phpBB/phpbb/db/driver/mssqlnative.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/driver/mssqlnative.php b/phpBB/phpbb/db/driver/mssqlnative.php index 2859945915..de81a6a0c8 100644 --- a/phpBB/phpbb/db/driver/mssqlnative.php +++ b/phpBB/phpbb/db/driver/mssqlnative.php @@ -50,7 +50,8 @@ class mssqlnative extends \phpbb\db\driver\mssql_base $this->db_connect_id = sqlsrv_connect($this->server, array( 'Database' => $this->dbname, 'UID' => $this->user, - 'PWD' => $sqlpassword + 'PWD' => $sqlpassword, + 'CharacterSet' => 'UTF-8' )); return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error(''); |