Triggers a browser download of CSV content.
A UTF-8 BOM is prepended, which is what makes Excel read the file as UTF-8 rather than ANSI. The .csv extension is added if missing.
.csv
The CSV document, e.g. from toCsv.
File name, with or without the extension.
Triggers a browser download of CSV content.
A UTF-8 BOM is prepended, which is what makes Excel read the file as UTF-8 rather than ANSI. The
.csvextension is added if missing.