Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8
-
None
Description
Hello,
the following code produces CSV with a missing separator:
CSVPrinter csv=new CSVPrinter(new OutputStreamWriter(System.out,StandardCharsets.UTF_8),CSVFormat.DEFAULT); csv.print("a"); csv.printRecord("b","c");
This produces "ab,c".
The corresponding function that takes a list, works properly:
csv.print("a"); csv.printRecord(Arrays.asList("b","c"));
Produces "a,b,c" as expected