Closed niranjan92 closed 8 years ago
Any updates on this issue?
Regards,
Hi,
this problem already appeared previously and I decided to not fix it at that time. The reasons were:
If you know of a good way to support such ill-formed CSV files, then I can add the change. If not, then this problem will stay.
Best Regards, Ben Strasser
On Sat, 06 Jun 2015 12:06:31 -0700 Niranjan Godbole notifications@github.com wrote:
Any updates on this issue?
Regards,
Reply to this email directly or view it on GitHub: https://github.com/ben-strasser/fast-cpp-csv-parser/issues/2#issuecomment-109638105
Consider following input:
Here the Body column consists of HTML text with \n as a separator.The newline is denoted with \r\n or ^M. The attached file highlights occurance of all newline characters in the text. I can mail you the sample file in case there is any confusion.Unable to format it correctly using markdown. The data is actually stackoverflow tag prediction data from kaggle which is available openly.
The parser throws following error:
I temporarily fixed this issue by a small hack in next_line() function line number 272.
I am searching for \r instead of \n. This works for my case but can we have something more robust that handles such input data.
PS: I am new to github as well and this is my first issue