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

Deal with Windows line endings #11

Open
SuperWig opened this issue Jun 6, 2020 · 3 comments
Open

Deal with Windows line endings #11

SuperWig opened this issue Jun 6, 2020 · 3 comments

Comments

@SuperWig
Copy link

SuperWig commented Jun 6, 2020

Figured the example in the readme should work out of the box and not have to use a custom trim_characters

@zhouw
Copy link

zhouw commented Feb 1, 2021

How did you deal with "\r\n"? There seems to be a trailing '\r' when reading windows file.

@huangshangbin
Copy link

i have a wraper this csv project https://github.com/huangshangbin/Csv

@softhorizons
Copy link

Suggest you upgrade parameters.hpp #35 to fix, like this:

using trim_whitespace = trim_policy::trim_characters<' ', '\t', '\r', '\n'>

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

No branches or pull requests

4 participants