ndash in Excel

Topics: Developer Forum
Nov 23, 2011 at 10:41 AM

Hello,

my code gives me the UTF-8 Value %u2013, which represents the "–" => "–"

Now I have to write the symbol for this in the Excel-Cell. Is there a possibility to do this?

Greets
Isa

Nov 23, 2011 at 12:20 PM

I would try using – in your string(s), then convert your string(s) to include the actual en-dash using PHP's html_entity_decode.