-
Notifications
You must be signed in to change notification settings - Fork 171
CSVReporter generates invalid CSV #298
CSVReporter generates invalid CSV #298
Comments
Follows this http://tools.ietf.org/html/rfc4180 in regards to using double quotes around fields that can have commas or spaces, as well as using two quotes ("") to escape inside a field's value Closes clutchski#298
Hi, sorry this ticket has been up a while, but never saw this. Even though CSVs don't have a proper standard. I decided to go by this RFC: http://tools.ietf.org/html/rfc4180 The general gist of it is, double quotes escape spaces/commas in fields, but uses two double quotes to escape a double quote in the field value. Also CRLF are not escaped in field values. |
Thanks for looking into this. I guess it's reasonable to delete the On Wed, Oct 7, 2015 at 11:07 AM, Shuan Wang [email protected]
|
Note that some messages even seem contain escape characters which don't obey the |
coffeelint/coffeelint#14 fixes double quotes, commas, and new lines in v3.0 @sils if |
The filename and message columns are not escaped. Unescaped commas and newlines break the resulting CSV file. Here's an example output:
The text was updated successfully, but these errors were encountered: