$serverName="(local)"; $connetionInfo = array("DataBase"=>"your db","UID"=>"username","PWD"=>"pass", "CharacterSet" => "UTF-8");<---------------this $this->dblink=sqlsrv_connect($serverName,$connetionInfo);