Html entities like € is not converted to its symbol in CSV conversion

前端 未结 6 592
别跟我提以往
别跟我提以往 2021-01-19 16:13

I have used CSV parser from http://code.google.com/p/parsecsv-for-php/, to export my reports to CSV in PHP. I have displayed Sales Total value in €XXXX.XX

6条回答
  •  庸人自扰
    2021-01-19 16:25

    This was the only thing that cleanly fixed it for me

     html_entity_decode($text, ENT_QUOTES, 'utf-8')
    

提交回复
热议问题