problem exporting to csv files

I have detected a problem exporting information from forms to CSV. We have the form on several pages, but on one of them the export has started to fail even though it was working fine before. After reviewing, I have detected that the problem is that the pages that work well export the CSV file in UTF-8 format with BOM, and the one that has started to work well simply exports a CSV file in UTF-8 format. I have tried opening a file with UTF-8 with BOM and pasting the content of the one that was exported without BOM and it works perfectly. How can I make the CSV files I export be UTF-8 with BOM?
Thank you so much
Greetings

Replies are visible only to logged in members with an active subscription.