8000 Deal with Windows line endings · Issue #11 · p-ranav/csv2 · GitHub
[go: up one dir, main page]

Skip to content
7FFF

Deal with Windows line endings #11

Open

Description

@SuperWig

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

Activity

  1. zhouw commented on Feb 1, 2021

    @zhouw

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

  2. huangshangbin commented on Apr 15, 2021

    @huangshangbin

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

  3. softhorizons commented on Sep 23, 2021

    @softhorizons

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0