Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php utf 8 sqlsrv

$serverName="(local)";
    $connetionInfo = array("DataBase"=>"your db","UID"=>"username","PWD"=>"pass",
                           "CharacterSet" => "UTF-8");<---------------this
    $this->dblink=sqlsrv_connect($serverName,$connetionInfo);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #utf #sqlsrv
ADD COMMENT
Topic
Name
6+3 =