title: SQL Server to CSV character encoding
body: <p>I have a SQL Server database extract I'm doing.</p>
  
  <p>At the beginning of my program, I have:</p>
  
  <pre><code>ini_set('mssql.charset','cp1250');
  </code></pre>
  
  <p>My database calls do not do anything special. </p>
  
  <p>I'm only call the following methods:</p>
  
  <pre><code>mssql_connect, mssql_select_db, mssql_query, mssql_fetch_object, 
  mssql_next_result and mssql_close.
  </code></pre>
  
  <p>When I print the output of my export on screen, all the characters look fine. When I export <code>fputcsv()</code> into a csv file, I get a ton of &lt;92> and &lt;93> characters (this is the way that they look when I use a terminal to read them). When I open the file using Excel, they look like ì, í and î</p>
  
  <p>This is causing major problems. Do you have any ideas?</p>