View Source NimbleCSV.Spreadsheet (NimbleCSV v1.2.0)

A parser with spreadsheet friendly settings.

The parser uses tab as separator and double-quotes as escape, as required by common spreadsheet software such as Excel, Numbers and OpenOffice. It's encoded in UTF-16 little-endian with a byte-order BOM.

Such files should still be saved with the .csv extension.

Summary

Functions

dump_to_iodata(enumerable)

Callback implementation for NimbleCSV.dump_to_iodata/1.

dump_to_stream(enumerable)

Callback implementation for NimbleCSV.dump_to_stream/1.

parse_enumerable(enumerable, opts \\ [])

Callback implementation for NimbleCSV.parse_enumerable/2.

parse_stream(stream, opts \\ [])

Callback implementation for NimbleCSV.parse_stream/2.

parse_string(string, opts \\ [])

Callback implementation for NimbleCSV.parse_string/2.

to_line_stream(stream)

Callback implementation for NimbleCSV.to_line_stream/1.