Skip to content

Unable to determine if a value in the CSV is quoted #28

@jmuehlner

Description

@jmuehlner

I am trying to parse some CSV that was generated by a database CSV export, where NULL fields are represented by the unquoted string NULL, whereas the string "NULL" would be represented by a quoted string "NULL".

Currently I have no way to determine the difference between these 2 cases.

It would be really handy if there was some equivalent to the CSV_EMPTY_IS_NULL option, or even better, if the value of csv_parser->quoted was usable in the row and field handlers.

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