<< Back to previous view

[DCSV-7] data.csv does not handle BOMs Created: 12/Aug/13  Updated: 12/Aug/13

Status: Open
Project: data.csv
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: John Walker Assignee: Jonas Enlund
Resolution: Unresolved Votes: 0
Labels: None

Usually Windows (but also Linux)


Sometimes BOMs are prepended to files in Microsoft Land. Data.csv does not handle this edge case, which causes the first field in the header of a csv file to be incorrect. This can be hard to detect, since \ufeff is usually invisible.


Comment by Jonas Enlund [ 12/Aug/13 11:46 PM ]

This isn't really a csv specific problem. I've encountered files with a byte order mark and then I have simply executed (.skip reader 1) before handing the reader over to read-csv. Is this not a good enough solution?

Generated at Tue Oct 06 07:27:13 CDT 2015 using JIRA 4.4#649-r158309.