philou5672 / csv-to-array

Automatically exported from code.google.com/p/csv-to-array
0 stars 0 forks source link

Break records at either CRLF or LF as standard #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The RFC4180 standard states

Each record is located on a separate line, delimited by a line break (CRLF)

but looking through some of the other pseudo standards a few of them suggest 
records be split at either CRLF or LF, this is something that would be 
reasonably easy to add and would not affect data in the format of the current 
standard.

The other side of the argument would be that a record separator override is 
already provided therefor to accommodate the other standards we could simply 
call the function using csvToArray("","\n");

Original issue reported on code.google.com by danielti...@gmail.com on 20 Apr 2013 at 12:32