Opened 10 years ago

Closed 10 years ago

Last modified 3 years ago

#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 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 (4)

comment:1 in reply to: ↑ description Changed 10 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 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

comment:4 Changed 3 years ago by westram

  • Milestone changed from arb6.1 to arb7.0

Milestone renamed

Note: See TracTickets for help on using tickets.