ndash in Excel

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


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?


Nov 23, 2011 at 1: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.