gbif / gbif-common

Utility classes
Apache License 2.0
1 stars 1 forks source link

TabularFiles instances shall support escape of quote char #10

Closed cgendreau closed 6 years ago

cgendreau commented 7 years ago

Currently it is impossible to include the quote char and indicate to the TabularDataFileReader to escape it. "2", " is it ""expected"""

rfc4180 says:

  1. If double-quotes are used to enclose fields, then a double-quote appearing inside a field must be escaped by preceding it with another double quote.

Backslash character could also be used so we might want to offer the option.

cgendreau commented 6 years ago

fixed and only what is described in the point 7. is supported.