Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing broken on cursed newlines #223

Closed
msrd0 opened this issue Apr 6, 2024 · 1 comment
Closed

Parsing broken on cursed newlines #223

msrd0 opened this issue Apr 6, 2024 · 1 comment
Assignees

Comments

@msrd0
Copy link

msrd0 commented Apr 6, 2024

I have a cursed input file (that I do not control, obviously) that uses \r\r\n (hex 0D 0D 0A) as newlines. This makes the parser produce rows that are (a) not considered empty, so I can't easily skip them, but (b) contain only the first column. It would be nice if this library either accepted any cursed combination of newline'ish characters as a single newline, or allows for the user to specify which combination of characters to treat as a newline.

@vincentlaucsb
Copy link
Owner

Thanks for your report. The latest version should be able to gracefully handle \r\r\n (or any other combination of \r and \n.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants