Javadoc
Flag indicating whether the writer should replace the the normalized line separator character specified in
Format#getNormalizedNewline()by the sequence specified in
Format#getLineSeparator(), when the value is enclosed within quotes.
This is enabled by default and is used to ensure data can be used on any platform without producing unrecognized line endings.
For example, consider the quoted value
"Line1 \n Line2". If this is written using
"\r\n" as
the line separator sequence, and the normalized new line is set to
'\n' (the default), the output will be:
[Line1 \r\n Line2]However, if the value is meant to be kept untouched, and the original line separator should be maintained, set
the
#normalizeLineEndingsWithinQuotes to
false. This will make the writer output the value as-is, producing:
[Line1 \n Line2]