mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Set character set in SQLSRV (bug #3479986)
This commit is contained in:
@@ -23,7 +23,7 @@ if (isset($_GET["mssql"])) {
|
||||
}
|
||||
|
||||
function connect($server, $username, $password) {
|
||||
$this->_link = @sqlsrv_connect($server, array("UID" => $username, "PWD" => $password));
|
||||
$this->_link = @sqlsrv_connect($server, array("UID" => $username, "PWD" => $password, "CharacterSet" => "UTF-8"));
|
||||
if ($this->_link) {
|
||||
$info = sqlsrv_server_info($this->_link);
|
||||
$this->server_info = $info['SQLServerVersion'];
|
||||
|
Reference in New Issue
Block a user