We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 009b052 + fe4bab7 commit 1c85078Copy full SHA for 1c85078
packages/ra-core/src/export/downloadCSV.ts
@@ -2,7 +2,7 @@ export default (csv, filename) => {
2
const fakeLink = document.createElement('a');
3
fakeLink.style.display = 'none';
4
document.body.appendChild(fakeLink);
5
- const blob = new Blob([csv], { type: 'text/csv' });
+ const blob = new Blob([csv], { type: 'text/csv;charset=utf-8' });
6
if (window.navigator && window.navigator.msSaveOrOpenBlob) {
7
// Manage IE11+ & Edge
8
window.navigator.msSaveOrOpenBlob(blob, `${filename}.csv`);
0 commit comments