#565 closed defect (fixed)
CSV import should tolerate windows line ends
Reported by: | epruesse | Owned by: | westram |
---|---|---|---|
Priority: | normal | Milestone: | arb7.0 |
Component: | Import / Export | Version: | SVN |
Keywords: | Cc: |
Description
As per RFC4180 CSV files use CRLF as line terminators. ARB should import such files correctly.
Considering that no-one will consider the invisible CR at the line end something sensible to import into the , there is no ambiguity. The CR at the line-end should simply be removed/ignored.
(Probably holds true for all flat file parsing in ARB)
Change History (4)
comment:1 in reply to: ↑ description Changed 10 years ago by westram
comment:2 Changed 10 years ago by westram
- Resolution set to fixed
- Status changed from new to closed
by [12442]
comment:3 Changed 10 years ago by westram
- Owner changed from devel to westram
Note: See
TracTickets for help on using
tickets.
Replying to epruesse:
C++ code should use BufferedFileReader, which has a unittest ensuring LFs are handled properly .. probably