Skip to content

Commit

Permalink
Merge branch 'main' into feat/forms-1240-external-api
Browse files Browse the repository at this point in the history
  • Loading branch information
usingtechnology committed Jun 20, 2024
2 parents d81fbe6 + 98bf7eb commit d1c2b02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/frontend/src/components/forms/ExportSubmissions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ export default {
);
if (response && response.data && !emailExport) {
const blob = new Blob([response.data], {
// Create a UTF-8 Byte Order Mark to handle BC Sans in Excel.
const BOM = new Uint8Array([0xef, 0xbb, 0xbf]);
const blob = new Blob([BOM, response.data], {
type: response.headers['content-type'],
});
const url = window.URL.createObjectURL(blob);
Expand Down

0 comments on commit d1c2b02

Please sign in to comment.