Specifying the utf-8 charset when exporting aggregate tables

This commit is contained in:
= 2016-10-13 12:35:52 -04:00
parent ab5f6cbd31
commit 729bb9a9e4

View file

@ -36,7 +36,7 @@ uiModules
};
self.exportAsCsv = function (formatted) {
let csv = new Blob([self.toCsv(formatted)], { type: 'text/plain' });
let csv = new Blob([self.toCsv(formatted)], { type: 'text/plain;charset=UTF-8;' });
self._saveAs(csv, self.csv.filename);
};