Encoding UTF-8 when exporting HTML table to Excel

前端 未结 5 949
感动是毒
感动是毒 2020-12-01 09:39

I am trying to export an HTML table to Excel using javascript. This is the javascript code



        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 10:16

    First: Your header is malformed. It should be:

    
    

    And second: It should be into your template, because it contains charset information for Excel.

     
    

提交回复
热议问题