how to write Euro Sign?

Topics: User Forum
May 10, 2011 at 5:10 AM

i was try to write this "My Money: € 11, your money: € 55" with phpExcel

and here is the result: "My Money:". the rest is cut out.

how can i resolve this problem

 

thanks

Coordinator
May 10, 2011 at 7:27 AM
Edited May 10, 2011 at 7:39 AM

So how are you trying to write this? Setting a string value? A cell format mask? And are you ensuring that you're using UTF-8? Are you using the € html entity?

May 12, 2011 at 8:40 AM

this is what i do:

  mb_internal_encoding("utf-8"); 

$ero = "My Money: € 11, your money: € 55";
$sheet->setCellValue('A2', $ero);

could you give me example that works?

thanks Mark

Sep 15, 2011 at 8:46 AM

Check out this discussion for a solution

http://phpexcel.codeplex.com/discussions/272552