stable

Clone or download

Read-only

Add BOM with javascript

Part of story #12345 export results to csv In order to ensure that Microsoft Excel correctly parses the exported file as UTF-8, we add the UTF-8 Byte Order Mark at the beginning of the file. How to test: - Export CSV from a cross-tracker widget with a saved and non-empty report. - The exported file can still be opened in a spreadsheeting program. "id" should still be the first column. Change-Id: I42d5b318648cdf79db2fd9f61cc872e13cdc1317

Modified Files

Name
M plugins/crosstracker/scripts/cross-tracker/src/components/ExportCSVButton.spec.js +6 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/ExportCSVButton.vue +7 −1 Go to diff View file
A plugins/crosstracker/scripts/cross-tracker/src/helpers/bom-helper.js +24 −0 Go to diff View file