News for hackers. Stuff that matters.
Re:So you want to write your own CSV code (2014) by GolDDranks on Friday May 15, 2020 @07:11AM (#23190817)
I have a similar story: parsing a CSV file that had an unexpected 0x1A byte in the middle. Turns out the file was concatenated together in multiple passes from multiple files using the COPY DOS command, which by default adds ASCII SUB to the end as an EOF marker: https://en.wikipedia.org/wiki/Substitute_character
Re:So you want to write your own CSV code (2014) by SanchoPanda on Friday May 15, 2020 @07:16AM (#23190840)
I have done this to myself in the past. Those were....dark days.
Re:So you want to write your own CSV code (2014) by GolDDranks on Friday May 15, 2020 @07:17AM (#23190855)
The sad thing is that this happened last year.
Re:So you want to write your own CSV code (2014) by oefrha on Friday May 15, 2020 @07:26AM (#23190910)
You don't say, someone sent a CSV like that to me yesterday...