Azi
03/10/2022, 5:05 PMconst csvFile = file.create({
name: `report_${dateString}.csv`,
fileType: file.Type.CSV,
contents: convertListToCsv(searchData),
encoding: file.Encoding.UTF_8,
})
I it seems the charachter '
is getting changed to ’
Isn't the encoding: file.Encoding.UTF_8
supposed to take care of that?Shawn Talbert
03/10/2022, 5:06 PMconvertListToCsv
isn't perfect?Shawn Talbert
03/10/2022, 5:07 PMconvertListToCsv
is a function you created which creates CSV content directly, I'd strongly recommend using a library instead (e.g. papaparse) for a happy life.Azi
03/10/2022, 5:20 PMconvertListToCsv
as I just tested it and the data is still good at that pointShawn Talbert
03/10/2022, 5:23 PMehcanadian
03/10/2022, 5:28 PMAzi
03/10/2022, 5:31 PMAzi
03/10/2022, 5:33 PM'
. It is a ’
Azi
03/10/2022, 5:33 PMShawn Talbert
03/10/2022, 5:35 PMAzi
03/10/2022, 5:36 PMAzi
03/10/2022, 5:36 PMdarrenhillconsulting
03/10/2022, 6:30 PMCharan
03/15/2022, 9:54 AMAzi
03/15/2022, 12:51 PMAzi
03/15/2022, 12:58 PMdarrenhillconsulting
03/15/2022, 1:11 PMAzi
03/15/2022, 1:31 PMdarrenhillconsulting
03/15/2022, 2:31 PMSlackbot
03/15/2022, 5:45 PM