CSV Records Include Trailing Comma
madxmike opened this issue ยท 2 comments
Hello,
Currently the CSV produced by the export gives the following result:
Leftshark,ROGUE,193638,166684,1,13001,4,11/26/19 01:14:12,
Poiytley,ROGUE,142439,70379,31,11079,4,11/25/19 22:40:59,
According to RFC 4180 each record is supposed to be terminated with a new line character instead of a comma. Here is the result according to the RFC:
Leftshark,ROGUE,193638,166684,1,13001,4,11/26/19 01:14:12
Poiytley,ROGUE,142439,70379,31,11079,4,11/25/19 22:40:59
Currently running into this issue parsing the CSV into a struct using Go's encoding/csv. I'm unable to parse the input as intended. Able to work around it by considering the last comma as another field, but just wanted to bring it up for you attention
Thanks!
For parsing needs just use SavedVariables file on disk.
CSV is for Google spreadsheet.
But thanks for the report.