title: How to store more than 255 characters in a cell when using php_writeexcel-0.3.0?
body: <p>I am using <code>php_writeexcel-0.3.0</code> for exporting data to excel. Everything works perfect. But i just noticed that characters more than 255 are being truncated. I have tried using the <code>setversion()</code> function also. </p>
  
  <p>below is the code snippet i used</p>
  
  <pre><code>require_once "php_writeexcel-0.3.0/class.writeexcel_workbook.inc.php";
  require_once "php_writeexcel-0.3.0/class.writeexcel_worksheet.inc.php";
                  //Export excel starts here
  
  $fname = tempnam("/tmp", "Report.xls");
  $workbook = new writeexcel_workbook($fname);
  $worksheet = $workbook-&gt;addworksheet();
  # Set the column width for columns 1, 2, 3 and 4
  $worksheet-&gt;set_column(0, 0, 50);
  
  # Create a format for the column headings
  $header =&amp; $workbook-&gt;addformat();
  $header-&gt;set_bold();
  $header-&gt;set_size(12);
  $header-&gt;set_color('blue');
  
  # Create a format for the stock price
  $f_price =&amp; $workbook-&gt;addformat();
  $f_price-&gt;set_align('left');
  $f_price-&gt;set_num_format('$0.00');
  
  # Create a format for the stock volume
  $f_volume =&amp; $workbook-&gt;addformat();
  $f_volume-&gt;set_align('left');
  $f_volume-&gt;set_num_format('#,##0');
  # Create a "vertical justification" format
  $header-&gt;set_align('vjustify');
  # Embedded newlines
  $str2  = "Down\nHours";
  $closedon =&amp; $workbook-&gt;addformat();
  $closedon-&gt;set_align('vcentre');
  $closedon-&gt;set_text_wrap();
  $f_change =&amp; $workbook-&gt;addformat();
  $f_change-&gt;set_align('vcentre');
  $f_change-&gt;set_num_format('[Green]0.0%;[Red]-0.0%;0.0%');
  $worksheet-&gt;write(0, 0, 'Work Order Number', $header);
  $worksheet-&gt;write($SiNo, 0, $wo_number,$format2);
  //$wo_number has more than 255 characters
  $workbook-&gt;close();
  header("Content-Type: application/x-msexcel; name=\"Report.xls\"");
  header("Content-Disposition: inline; filename=\"Report.xls\"");
  $fh=fopen($fname, "rb");
  fpassthru($fh);
  unlink($fname);
  </code></pre>
  
  <p>Is there any solution for this? or if there is any other <code>codeigniter</code> library or better php library available with example please let me know. </p>