The newline sequence. Leave blank to auto-detect. Must be one of \r, \n, or \r\n.
The newline sequence. Leave blank to auto-detect. Must be one of \r, \n, or \r\n. If you are working with file where newline characters vary then you can try setting <code>forceUniformNewline</code> to <code>true</code> to make sure there is only one variant before parsing.
</td>
</td>
</tr>
</tr>
<tr>
<tr>
@ -680,6 +681,14 @@ var csv = Papa.unparse({
An array of delimiters to guess from if the <code>delimiter</code> option is not set.
An array of delimiters to guess from if the <code>delimiter</code> option is not set.
</td>
</td>
</tr>
</tr>
<tr>
<td>
<code>forceUniformNewline</code>
</td>
<td>
When set to <code>true</code> replace all newline characters no matter what variant (\r, \n or \r\n) in the file to current <code>newline</code> before parsing. This is useful when newline characters vary in a file leading to inaccurate parsing. Use this with care however because this option will also replace quoted newline characters.