Skip to content

BOM is not stripped when reading #8

Description

@fbenedetti

I read a .csv file starting with a BOM but the BOM is not stripped. The first header returned by csv_reader_get_headers() contains the BOM at the beginning, and the delimiters as well. I initialize the reader with

        csv_config_set_encoding(config, CSV_ENCODING_UTF8);
        csv_config_set_has_header(config, true);

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions