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