diff --git a/frontend/shared/src/utils/file.utils.ts b/frontend/shared/src/utils/file.utils.ts index 48ad2fffd4..d6b2f0a355 100644 --- a/frontend/shared/src/utils/file.utils.ts +++ b/frontend/shared/src/utils/file.utils.ts @@ -11,7 +11,7 @@ export const downloadFile = (data: string, type: ExportFileType): void => { if (type === 'csv') { // eslint-disable-next-line security/detect-non-literal-fs-filename - fileDownload(data, `hl ${dateString}.csv`, 'text/csv;charset=utf-8'); + fileDownload(data, `hl ${dateString}.csv`, 'text/csv;charset=utf-8-sig', '\uFEFF'); } else { fileDownload(data, `hl ${dateString}.zip`); }