title: PHP + SQL Server - How to set charset for connection?
body: <p>I'm trying to store some data in a SQL Server database through php.</p>
  
  <p>Problem is that special chars aren't converted properly. My app's charset is iso-8859-1
  and the one used by the server is windows-1252.</p>
  
  <p>Converting the data manually before inserting doesn't help, there seems to be some 
  conversion going on.</p>
  
  <p>Running the SQL query 'set char_convert off' doesn't help either.</p>
  
  <p>Anyone have any idea how I can get this to work?</p>
  
  <p><strong>EDIT:</strong> I have tried ini_set('mssql.charset', 'windows-1252'); as well, but no result with that one either.</p>