displaying copyright symbol in Excel5

Topics: Developer Forum
Mar 26, 2012 at 11:49 PM
Edited Mar 27, 2012 at 12:12 AM

I am trying to display copyright symbol in excel file. I have tried following lines but none of them worked.

$objPHPExcel->getActiveSheet()->setCellValue('A12', "Copyright \o251     " . date("Y") . " All rights reserved.");
$objPHPExcel->getActiveSheet()->setCellValue('A12', "Copyright \xA9     " . date("Y") . " All rights reserved.");
$objPHPExcel->getActiveSheet()->setCellValue('A12', "Copyright © " . date("Y") . " All rights reserved.");



what am I missing over here?
Thanks

Jun 12, 2012 at 7:12 PM

Same problem here. Any solutions?

Coordinator
Jun 12, 2012 at 9:58 PM

Solution: use UTF-8