5 Replies Latest reply: May 26, 2013 4:04 AM by Adam Cameron. RSS

    cfprocessingdirective pageencoding also not working

    gokul1242 Community Member



      I use the below code to export the data from ldap query to excel


      <cfheader name="Content-Disposition" value="attachment; filename=Report.xls">

      <cfcontent type="application/vnd.ms-excel">

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">


      But special characters appears as (?) symbol is excel sheet even though it displays correctly in browser


      In Browser:



      In Excel:


      I even tried using <cfprocessingdirective pageencoding="utf-8" />


      But still it appears same..


      Pls advice