title: Mssql query in hebrew fetchs nothing
body: <p>I'm trying to fetch data from my DB.<br>
  It works great when there are no hebrew chars involved, but it doesn't work with hebrew chars.<br>
  Here's a query for example: </p>
  
  <pre><code>while (list($ddd, $ccc) = each($dbb)){
  $dsn = "DRIVER={SQL Server}; SERVER={$ccc};UID={$usr};PWD={$pwd}; DATABASE={$ddd}";
  $db-&gt;Open($dsn);
  $SQL = "SELECT TOP 10 CardCode FROM dbo.OPDN WHERE Cast(CardCode AS Nvarchar(max)) = N'רונלייט'";
  $rs = $db-&gt;Execute($SQL);
  $qqqw='';
  while(!$rs-&gt;EOF){
      echo ($rs-&gt;Fields['CardCode']);
      echo "&lt;br /&gt;";
     $rs-&gt;MoveNext();
  }
  $rs-&gt;Close();
  $db-&gt;Close();
  }
  </code></pre>
  
  <p>Help would be highly appreciated.</p>