DamjanJovanovic opened a new pull request, #295:
URL: https://github.com/apache/commons-csv/pull/295

   As per issue https://issues.apache.org/jira/browse/CSV-141 and based on what 
we did in Apache OpenOffice https://bz.apache.org/ooo/show_bug.cgi?id=126805
   
   This adds a setting, allowTrailingText (for lack of a better name) that 
allows CSV fields to have trailing text after the closing quote, up to the next 
separator, which can contain anything except the separator character, and this 
extra text is appended as-is to the field contents (any further quoting is 
ignored). This is exactly how Excel behaves.
   
   As this is a non-standard setting with surprising behaviour, I've made it 
off by default. Only CSVFormat.EXCEL has it on by default.
   
   This doesn't fully fix CSV-141 yet as that has line ending issues too, but 
I'd like to investigate how Excel handles that first.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to