I need to export javascript array to excel file and download it I\'m doing it in this code. data is a javascript object array.
var csvContent = \"data:t
You can add the BOM at first, use this code and try
var BOM = "\uFEFF"; var csvContent = BOM + csvContent;
and then crate the file headers with the data: "text/csv;charset=utf-8"