You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone.
i am currently using SuperCSV (v 2.4.0) for exporting data.
I am stuck in with the below problem. Could anyone help me to figure out the cause ?
※My problem:
My CSV header has 9 columns
-There is a line which missing a comma dilimiter (,) between two fields, so that line become a 8-columns line
The messing line is occur randomly, not exact the same line for every exporting (the data is not change).
※Here my code:
① CSV Writing function
// obmitting
Hi, @anbui08
Super CSV doesn't find that the print data is lack of comma. You can try to use the write(Object source, String[] nameMapping, CellProcessor[] processors) method to write, which can verify the number of columns to write data.
Hi everyone.
i am currently using SuperCSV (v 2.4.0) for exporting data.
I am stuck in with the below problem. Could anyone help me to figure out the cause ?
※My problem:
-There is a line which missing a comma dilimiter (,) between two fields, so that line become a 8-columns line
※Here my code:
① CSV Writing function
// obmitting
② ConvertFile helper function
this function is convert special character from EUC to UTF-8
※My question is, is my problem caused by superCSV bug ? can you help to figure out the cause ?
because i have read from the below discussion, not only i met the mess up csv problem, but some one did too.
http://stackoverflow.com/questions/13585914/messed-up-csv-leads-to-exception
The text was updated successfully, but these errors were encountered: