Skip to content

Text.CSV inserts empty records in files with \r\n line endings

Text.CSV inserts empty records [""] when reading files with \r\n (dos) line endings. This is because \r and \n are handled separately.

Solving this is a little tricky because the \n may be part of the following chunk.