Not using CRLF as line separator for writing as per specification?
mparaz opened this issue · comments
Miguel Paraz commented
In RowWriterImpl:
writer.write(rowInstructions.getEndOfLine());
which is:
return this.symbolMapping.getFirstMappedCharacter(EncounteredSymbol.EOL_SYMBOL);
which is only ever one character, the \r of the \r\n:
char[] mappedCharacters = symbolToChars.get(encounteredSymbol); return mappedCharacters == null ? 0 : mappedCharacters[0];
As a workaround, I passed in a Writer
that overrides write(int)
Manish commented
👍
SanderBenschop commented
This should be fixed in the latest version