Closed saerdnaer closed 2 years ago
According to RFC4180 CSV should always use CRLF (aka \r\n) as line breaks:
\r\n
aaa,bbb,ccc CRLF zzz,yyy,xxx CRLF
Even for line breaks inside of fields (example 6, page 2):
"aaa","b CRLF bb","ccc" CRLF zzz,yyy,xxx
Right now https://archive.org/details/podcastindex_dump contains CRLF for line breaks at the end of a record, but only CR for line breaks inside of fields.
I don't think the current csv output is suppose to be "used" Just a quick & dirty output for us to look at some of the fields.
According to RFC4180 CSV should always use CRLF (aka
\r\n
) as line breaks:Even for line breaks inside of fields (example 6, page 2):
Right now https://archive.org/details/podcastindex_dump contains CRLF for line breaks at the end of a record, but only CR for line breaks inside of fields.