Skip to content

BOM is not stripped when reading #8

@fbenedetti

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions