title: PHP generated csv file is displaying Â£ for a UK pound sign (£) in Excel 2007
body: <p>I'm generating the csv file with the following header commands:</p>
  
  <pre><code>header("Content-type: text/csv; charset=utf-8; encoding=utf-8");
  header('Content-Disposition: attachment; filename="products.csv"');
  </code></pre>
  
  <p>If I open the file in Excel 2007, then I get Â£ wherever a £ sign should appear. However, if I open the file in Notepad++, then the pound signs appear fine; similarly, if I change the content-type to text/plain and get rid of the attachement header, the pound signs appear correctly in the browser.</p>
  
  <p>One strange thing is that if I go to the "Format" menu in Notepad++, it appears that the file is encoded in "UTF-8 without BOM". If I change this to "Encode in UTF-8", then save the file, the pound signs appear correctly in Excel. Is there a way to make it so that the file is saved in this encoding by PHP?</p>