Problems with FPDF and Euro symbol

后端 未结 4 2038
醉酒成梦
醉酒成梦 2021-02-08 02:20

I\'ve spent a couple of days sifting through various methods to encourage FPDF to render the Euro symbol, but none have succeeded. I have:

$currency = iconv(\"UT         


        
4条回答
  •  攒了一身酷
    2021-02-08 02:22

    the iconv function worked for me

    $text = "String with € sign"    
    $pdfobj->Write(0,iconv('UTF-8', 'windows-1252', $text));
    

提交回复
热议问题