hakana VIP
Total posts: 425
22 Март 2021 21:20

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

Последние изменения: 05 Окт 2023


killersmile
Total posts: 121
26 Авг 2022 12:43

Great site i love it keep posting more! custom shed builders near me


emmcairnsroofers
Total posts: 1
01 Июнь 2023 07:18

I'd like to learn more about this as well. Thanks for posting! https://www.cairnsroofingservices.com/roof-repair/


vinahe
Total posts: 2
02 Июль 2023 08:40

This is the first time I've heard of downloading reports in Excel. Where can I find information about this? https://basketrandom.fun


Malisoa
Total posts: 7
05 Окт 2023 04:58

Adding this line will prevent us from having to manually change the file's encoding every time Excel is opened. baseball 9

Работает на Cobalt