csv
csv copied to clipboard
ListToCSVConverter generates extra CR for new line
Error in CSV:4.0.3
ListToCSVConverter generate an extra CR code for each new line.
The method convert(), generates one CR + CR + LF at the end of each line, when only one LF or one CR+LF pair is expected.

I can not reproduce this issue.
My simple test program doesn't have this issue:
import 'package:csv/csv.dart';
main(List<String> arguments) {
final csv = ListToCsvConverter().convert([["ab", "cd"],["xy","123"]]);
print(csv.codeUnits.map((cu) => cu.toRadixString(16)));
}
Do you have an idea, why this happens in your case?
What are your csv settings? How do you call convert?
I have the same error.
