Skip to content

Commit c05679c

Browse files
committed
fix #1599
1 parent e3da446 commit c05679c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/csv_export_util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const exportCSV = function(data, keys, filename, separator, noAutoBOM, excludeCS
6262
const dataString = toString(data, keys, separator, excludeCSVHeader);
6363
if (typeof window !== 'undefined') {
6464
noAutoBOM = noAutoBOM === undefined ? true : noAutoBOM;
65-
saveAs(new Blob([ dataString ],
65+
saveAs(new Blob([ '\ufeff', dataString ],
6666
{ type: 'text/plain;charset=utf-8' }),
6767
filename, noAutoBOM);
6868
}

0 commit comments

Comments
 (0)