Merge branch 'csv-export-bom-header' into 'develop'
CSV export: add UTF-8 BOM header See merge request framasoft/framadate/framadate!365
This commit is contained in:
commit
0493a05526
@ -73,6 +73,7 @@ $slots = $pollService->allSlotsByPoll($poll);
|
||||
$votes = $pollService->allVotesByPollId($poll_id);
|
||||
|
||||
// CSV header
|
||||
echo "\xEF\xBB\xBF"; // BOM character for UTF-8
|
||||
if ($poll->format === 'D') {
|
||||
$titles_line = ',';
|
||||
$moments_line = ',';
|
||||
|
Loading…
Reference in New Issue
Block a user