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

encoding/csv: ReadAll - Does not process csv file with "CR" as EOL character (without "LF") #12207

Closed
jumpinjan opened this issue Aug 19, 2015 · 2 comments

Comments

@jumpinjan
Copy link

I have to work with CSV files that only have a carriage return in them. The csv package Readall method considers the whole file to be one record because it only checks for "LF" (/n) and has no check for "CR" as well.

CSV files can end with just "CR" per these standards: http://www.digitalpreservation.gov/formats/fdd/fdd000323.shtml

Thank you!

@ajstarks
Copy link
Contributor

See: #7897

@adg
Copy link
Contributor

adg commented Aug 20, 2015

Dupe of #7897

@adg adg closed this as completed Aug 20, 2015
@mikioh mikioh changed the title csv ReadAll - Does not process csv file with "CR" as EOL character (without "LF") encoding/csv: ReadAll - Does not process csv file with "CR" as EOL character (without "LF") Aug 21, 2015
@golang golang locked and limited conversation to collaborators Aug 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants