Problem with Fixed Length Parser
Try to use option OneRecordPerLine for FIX_LEN_DATA_READER_NIO or defined additional dummy field at the end of type string and size 2 - this one will get assigned those two extra characters (DOS/Windows style line end).
if you are using directly org.jetel.data.FixLenDataParser2, call setOneRecordPerLinePolicy(true) on it befor calling getNext().
One more thing - try to download the latest version as this behaviour has been changed recently.
I am trying to parse the Fixed length data file with the class FixLenDataParser2. The \n\r characters are being added to the first filed of next record.
API documentation:Parsing fix length data. It should be used in cases where new lines separate records.
I doesn’t work the way it is documented. Is there any work around to get rid of the problem.