title: Avoid encoding of special characters in export to excel using PHPExcel
body: <p>I'm using phpexcel to export data in excel format and everything is working fine. But when I opens the downloaded file I seen that it encodes <code>(</code> and <code>)</code> to <code>&amp;#40;</code> and <code>&amp;#41;</code> and I want as it is i.e. <code>()</code>. I searched over this but I don't know how to do this.</p>
  
  <p>Below is my code:</p>
  
  <pre><code>// Rename sheet
      $objPHPExcel-&gt;getActiveSheet()-&gt;setTitle('Leads');
      // Set active sheet index to the first sheet, so Excel opens this as the first sheet
      $objPHPExcel-&gt;setActiveSheetIndex(0);
      // Redirect output to a client’s web browser (Excel5)
      //header('Content-Encoding: UTF-8');
      header('Content-Type: application/vnd.ms-excel; charset=utf-8');
      if ($this-&gt;input-&gt;post('project_name') == 'all') 
          header('Content-Disposition: attachment;filename="Leads-'.date('d-m-Y H:i:s').'.xls"');
      else 
          header('Content-Disposition: attachment;filename="'.$project_name.'.xls"');
      header('Cache-Control: max-age=0');
  
      $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
      $objWriter-&gt;save('php://output');
  </code></pre>