fuel/core — Issue #846: File::read() and Format::forge() - Cannot Convert CSV Files
Author: swt83
Created: 2012-02-23 04:41:57+00:00
State: open

I see some closed issues regarding CSVs and the Format class, here is something I'm encountering:

// read csv file as string
$csv = \File::read($path, true);

// convert csv to array
$array = \Format::forge($csv, 'csv')->to_array();

The above will fail to convert properly because the File::read() will strip out "\n" characters, which the CSV conversion requires to detect new lines.