Skip to content

Commit

Permalink
Merge pull request #2268 from jliit/master
Browse files Browse the repository at this point in the history
Fix for #1629, adds BOM to CSV export
  • Loading branch information
junedchhipa authored Mar 7, 2021
2 parents 5020ef2 + 6eb1956 commit 03a876c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class Exports {

let columns = []
let rows = []
let result = 'data:text/csv;charset=utf-8,'
let result = 'data:text/csv;charset=utf-8,\uFEFF'

const isTimeStamp = (num) => {
return w.config.xaxis.type === 'datetime' && String(num).length >= 10
Expand Down

0 comments on commit 03a876c

Please sign in to comment.