Hello Sergey,
When we want to download a report, we generally use the emcron file. If I want to create my own emcron file with the name encron2, it adds two stylesheets at the beginning of the CSV file. How can I avoid this? It destroys my CSV download file actually.
There are two things that need to be changed in the emcron file:
header("Content-Type:text/csv");
It should not be application/csv.
header("Content-Transfer-Encoding: UTF-8")
This line should be added so that we dont need to set the encoding of the file each time we open in Excel.
Kind regards,
Hakan
Hello Sergey,
When we want to download a report, we generally use the emcron file. If I want to create my own emcron file with the name encron2, it adds two stylesheets at the beginning of the CSV file. How can I avoid this? It destroys my CSV download file actually.
There are two things that need to be changed in the emcron file:
header("Content-Type:text/csv");
It should not be application/csv.
header("Content-Transfer-Encoding: UTF-8")
This line should be added so that we dont need to set the encoding of the file each time we open in Excel.
Kind regards, Hakan