title: PHP:Writing to excel file using PEAR
body: <p>I have installed PEAR, <code>Spreadsheet_Excel_Writer</code> and OLE.  The sample program is executed successfully but when I try to read the file it shows garbage values. I also tried <code>$workbook-&gt;setVersion(8);</code> and <code>$worksheet-&gt;setInputEncoding('UTF-8');</code></p>
  
  <p>I am using this tutorial and Google lot for this problem.<br>
  <a href="http://www.sitepoint.com/article/getting-started-with-pear/3/" rel="nofollow noreferrer">http://www.sitepoint.com/article/getting-started-with-pear/3/</a></p>
  
  <p>Thanks in advance.</p>