Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#565 closed defect (fixed)

CSV import should tolerate windows line ends

Reported by: epruesse Owned by: westram
Priority: normal Milestone: arb6.1
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 DB, 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 (3)

comment:1 in reply to: ↑ description Changed 6 years ago by westram

Replying to epruesse:

(Probably holds true for all flat file parsing in ARB)

C++ code should use BufferedFileReader, which has a unittest ensuring LFs are handled properly .. probably ;)

comment:2 Changed 6 years ago by westram

  • Resolution set to fixed
  • Status changed from new to closed

by [12442]

comment:3 Changed 6 years ago by westram

  • Owner changed from devel to westram
Note: See TracTickets for help on using tickets.