When outputting a CSV file on Windows, the resulting file has Unix-style (\n) line endings instead of Windows-style (\r\n) line endings.
In addition, CsvWriter.setBlockDelimiter() doesn't permit sending in a multi-character string, to override this behaviour.
|
|
Comment by bayard [ Tue, 26 Feb 2008 03:14:46 -0800 (PST) ] |
| Not as easy as it should be - the parser in CsvReader is char-based [ie: reads one char at a time] and would need work to get it to spot the \r\n when reading. Easy enough to change CsvWriter to output, but without a matching CsvReader I'm hesitant to do that. |