8000 The Reader Bug? · Issue #15 · p-ranav/csv2 · GitHub
[go: up one dir, main page]

Skip to content

The Reader Bug? #15

Open
Open

Description

@hwliu11

I try read Denver Crime Data example file crime.csv,the first line get wrong col number.The header has 19 cols,but read 18 cols.
Debug the source,in file reader.hpp line Code:
quote_opened = escaped || (buffer_[i + 1] != delimiter::value);
seem wrong,May be is like this:
quote_opened = escaped && (buffer_[i + 1] != delimiter::value);
Or my wrong usage?

Activity

  1. huangshangbin commented on Apr 15, 2021

    @huangshangbin

    set the first row not the header

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