amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
351 stars 94 forks source link

How do I make my data UTF-8 encoded when I export to CSV? #208

Open Zerhar opened 2 years ago

Zerhar commented 2 years ago

When I export my data from a chart that contains the characters "å", "ä" or "ö" it does not get converted correctly and the characters get replaced with other special characters. The question is therefore how I make the data from the chart UTF-8 encoded. Thank you in advance.

martynasma commented 2 years ago

We'll add a CSV export option addBOM in the next version. It'll be set to true by default, so you won't need to do anything - just ugrade.

Will let you know here when the new version is out.

Thanks for bringing it to our attention!

martynasma commented 2 years ago

Implemented in 5.1.0.

[5.1.0] - 2022-01-20

Added

Fixed

Full change log.

Download options.

Make sure you clear your browser cache after upgrading. And feel free to contact us again if you are still experiencing this issue.