Hi,
Viewing the CSV using 'less' it appears that the BOM is at the beginning
of the file, as normal, not midway. I'm unsure, therefore, why the
error message points to line 6 of the CSV.
Thanks for directing me to org.apache.commons.io.input.BOMInputStream.
It looks like the constructors for this class have since been
deprecated, so my current line of code:
Reader in = new FileReader(crewList);
May wind up something like:
InputStream inputStream = new FileInputStream(crewList);
BOMInputStream bomInputStream =
BOMInputStream.builder().setInputStream(inputStream).get();
Reader in = new InputStreamReader(bomInputStream);
Kind regards,
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org