title: Mssql query returns ? in place of accented characters
body: <p>right I'm running a mssql stored procedure in PHP and the accented characters appear to be returned as ?
  The stored procedure is</p>
  
  <pre><code>ALTER PROCEDURE [dbo].[dbname]
  @ProjectID AS int
  AS
  SELECT ProjectName COLLATE SQL_Latin1_General_CP1_CI_AS AS ProjectName, 
  CustomerName COLLATE SQL_Latin1_General_CP1_CI_AS AS CustomerName
  FROM Project
  WHERE ProjectID = @ProjectID
  END
  </code></pre>
  
  <p>My PHP relating to this is (the return values shown are for ABCDĒčďāĀÖØÖÖÃēù)</p>
  
  <pre><code>$dbhandle = mssql_connect($myServer, $myUser, $myPass)
      or die("Couldn't connect to SQL Server on $myServer");
  $selected = mssql_select_db($myDB, $dbhandle)
      or die("Couldn't open database $myDB");
  $stmt=mssql_init("select.Project", $dbhandle);
  $desktopid = $_GET['desktopid'];
  $compid = 0;
  $custid = 0;
  mssql_bind($stmt, "@ProjectID", $desktopid, SQLINT4, FALSE, FALSE);
  $result = mssql_execute($stmt);
  $row = mssql_fetch_assoc($result);
  echo $row['ProjectName'];          ==== ABCD????????????
  utf8_decode($row['ProjectName']);  ==== ABCD????????????
  utf8_encode($row['ProjectName']);  ==== ABCD????????????
  </code></pre>
  
  <p>I could do with a hand figuring out how to decode the characters that the function returns I've found no help from other sources online and I've even tried several fixes from stack overflow to no avail.</p>
  
  <p>Please also note that if I had the choice I would be using mysql with php not mssql and that I have php running on a debian server </p>