UTF8 encoding in file extract without the BOM header

Avatar

Avatar

anasso83525035

Avatar

anasso83525035

anasso83525035

12-11-2020

Hello,

 

I'm having an issue with a csv file extraction. The need is to have it encoded in UTF8 but ACC adds the byte order mark at the begining of the file.

 

Any idea how to get simple UTF8 extraction or remove the BOM please ?

 

Thank you.

View Entire Topic

Avatar

Avatar

Darren_Bowers

MVP

Avatar

Darren_Bowers

MVP

Darren_Bowers
MVP

12-11-2020

Hi @anasso83525035 - you can get the resulting file name from the CSV extraction activity and run some Javascript to execCommand() some command line sed functions to do this (provided your host is Linux)

https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/f-execCommand.html

https://unix.stackexchange.com/a/381263

Cheers

Darren