csv2
csv2 copied to clipboard
Deal with Windows line endings
Figured the example in the readme should work out of the box and not have to use a custom trim_characters
How did you deal with "\r\n"? There seems to be a trailing '\r' when reading windows file.
i have a wraper this csv project https://github.com/huangshangbin/Csv
Suggest you upgrade parameters.hpp #35 to fix, like this:
using trim_whitespace = trim_policy::trim_characters<' ', '\t', '\r', '\n'>