Matching item delimiter and decimal point (comma) messes up CSV export #7986
Comments
Hi @simonberger Thank you for reporting the issues. You most probably refer to #7448 issue. Could you explain the case a bit more? You mean, you set manually |
@pawelfus http://jsfiddle.net/3hgd5hu2/1/ Quotes has to be added to those columns. For example like this simonberger/export-csv@8a21717 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CSV Export creates a bad file if the defined or calculated decimal point matches the defined item delimiter.
In a change or patch some time ago you already set the default delimiter to ";" if the decimal point is "," but the it still fails if the delimiter has been defined by the user.
Codeblock
https://github.com/highcharts/highcharts/blob/master/js/modules/export-data.src.js#L496
Unimportant optimization but I noted there can be a if / else if on this type checking too.
The text was updated successfully, but these errors were encountered: