We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4d1d9 commit 8c8fa61Copy full SHA for 8c8fa61
src/chart/ChartUtils.ts
@@ -172,7 +172,7 @@ export const downloadCSV = (rows) => {
172
});
173
csv += '\n';
174
175
- const file = new Blob([csv], { type: 'text/plain;charset=utf8' });
+ const file = new Blob([`\ufeff${ csv}`], { type: 'text/plain;charset=utf8' });
176
element.href = URL.createObjectURL(file);
177
element.download = 'table.csv';
178
document.body.appendChild(element); // Required for this to work in FireFox
0 commit comments