[Boost-bugs] [Boost C++ Libraries] #13253: RFC 4180 CSV separator

Subject: [Boost-bugs] [Boost C++ Libraries] #13253: RFC 4180 CSV separator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-10 00:21:26


#13253: RFC 4180 CSV separator
------------------------------+-----------------------
 Reporter: tom_becker@… | Owner: jsiek
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: tokenizer
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------
 It would be useful to have a RFC 4180 CSV separator alternative to
 `escaped_list_separator`. The RFC 4180 CSV format is more compatible with
 popular spreadsheet software. It really is a different format:

 1. Putting quotes around a field allows commas only if the initial quote
 is at the beginning of the field.
 2. Quotes can be embedded in a quoted field if they are repeated. For
 example:
 {{{
 field 1,"embedded "" in field 2",field 3
 }}}
 3. Newlines can be embedded in a quoted field.
 4. There is no escape character (except for the special case of a repeated
 quote).

 It is easy to write a tokenizer function that parses this format, except
 for the embedded newlines. I have some working code that could be cleaned
 up and submitted.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13253>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-10-10 00:27:32 UTC