CSV to html – line endings

Line endings (End of line)

Different operating systems uses different ways of handling new lines (different characters). Linux uses \n while Windows uses \r\n while other operating systems uses something entirely different. This plugin usally handles this automatically (recognises it and applies best option) but in some odd cases you would have to define what type of line endings the file is supposed to have. This setting (eol_detection) is ignored on local files (because it is not needed).

Shortcode
[csvtohtml_create source_type="visualizer_plugin" path="csvfiles" source_files="https://wibergsweb.se/wp-content/uploads/csvfiles/sweden.csv;norway;finland;iceland;denmark" convert_encoding_from="Windows-1252" convert_encoding_to="UTF-8" eol_detection="cr/lf"]
20112012201320142015
Sweden1.6%2.2%3.2%4.5%6.9%
Norway-6.6%1.2%1.4%1.9%2.0%
Finland-16.6%-14.2%10.2%11.0%13.2%
Iceland6.6%6.2%7.2%11.0%16.2%
Denmark-2.6%0%2.6%2.9%2.11%