PHP Classes

Charset set

Recommend this page to a friend!

      Excel Writer  >  All threads  >  Charset set  >  (Un) Subscribe thread alerts  
Subject:Charset set
Summary:About charset to support more languages
Messages:2
Author:Said Bakr
Date:2007-06-04 00:09:03
Update:2009-02-20 11:27:31
 

  1. Charset set   Reply   Report abuse  
Picture of Said Bakr Said Bakr - 2007-06-04 00:09:03
Hi,

You have done very good work with your class. I suggest to set the charset as an optional parameter during object initiation. I had to modify it in the class line 106
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
to
<meta http-equiv=Content-Type content="text/html; charset=utf8">
to allow Arabic contents to be displayed correctly in the Excel.

it will be nice to have
$excel = new ExcelEriter(file.xls,'utf8');

Best Regards.

  2. Re: Charset set   Reply   Report abuse  
Picture of Ruquay K Calloway Ruquay K Calloway - 2009-02-20 11:27:31 - In reply to message 1 from Said Bakr
thanks for this tip, i also needed to change this for foreign characters.