AbsaOSS / AbsaOSS/cobrix

US ASCII file with newline character present within data

Aperta
#652 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Scala
Stelle
170
Fork
96
Merge medio
57m
PR unite (30g)
2

Descrizione

I have a US ASCII file with new line character \n occuring inside data (not actual line sep), the actual line separator is \r\n for this file. Hence when I try to read this file with US ASCII options the data spills over to the next row.

Sample Data

1111 AAA XXXX 090923900 RER\nDFT 1021
2222 AAA XXYY 234902930 RFTSDASD 1221

When I read the file with Cobrix library ASCII options the data looks like

1111 AAA XXXX 090923900 RER
DFT 1021
2222 AAA XXYY 234902930 RFTSDASD 1221

Do we have any option in cobrix to solve this problem, may be something similar to multiline in csv reader?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.