Support special characteres , It is related to #10
This commit is contained in:
parent
ffe8e6d34e
commit
c9cc0857c6
2 changed files with 7 additions and 7 deletions
|
|
@ -41,6 +41,6 @@ export const toCSV = (data, headers, separator) => {
|
|||
};
|
||||
|
||||
export const buildURI = ((data, headers, separator) => encodeURI(
|
||||
`data:text/csv;charset=utf-8,${toCSV(data, headers, separator)}`
|
||||
`data:text/csv;charset=utf-8,\uFEFF,${toCSV(data, headers, separator)}`
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue