note 119863 added to function.sqlsrv-connect

From: Date: Thu, 08 Sep 2016 09:00:13 +0000
Subject: note 119863 added to function.sqlsrv-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-206524@lists.php.net to get a copy of this message
You can use the connectionInfo parameter to specify connection encoding, e.g.: <?php $connectionInfo = [ 'CharacterSet' => 'UTF-8', ]; $conn = sqlsrv_connect($serverName, $connectionInfo); ?> Beware though that only two options exist: - SQLSRV_ENC_CHAR (constant) for ANSI, which is the default - 'UTF-8' (string) for Unicode ---- Server IP: 72.52.91.14 Probable Submitter: 212.183.207.73 ---- Manual Page -- http://php.net/manual/en/function.sqlsrv-connect.php Edit -- https://master.php.net/note/edit/119863 Del: integrated -- https://master.php.net/note/delete/119863/integrated Del: useless -- https://master.php.net/note/delete/119863/useless Del: bad code -- https://master.php.net/note/delete/119863/bad+code Del: spam -- https://master.php.net/note/delete/119863/spam Del: non-english -- https://master.php.net/note/delete/119863/non-english Del: in docs -- https://master.php.net/note/delete/119863/in+docs Del: other reasons-- https://master.php.net/note/delete/119863 Reject -- https://master.php.net/note/reject/119863 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#206524) next »