Re: Proposed changes for RFC 4180

On Apr 7, 2014, at 7:34 PM, Yakov Shafranovich <yakov-ietf@shaftek.org> wrote:

> I am working on an updated draft of this RFC. I have the following
> changes so far:
> 
> 1. Default charset should be changed to UTF-8 in light of RFC 6657.
> 2. Allow lines to end with CR, or CRLF.

I would say LF or CRLF. LF is the Unix/Mac preference.

> 3. Deprecate the optional "header" parameter since it is not being
> used, and may possibly be replaced with whatever metadata standard
> comes out of this group.
> 4. Allow escaping via backslashes in addition to "". Obvious question
> is how to distinguish between which method is being used.
> 5. Add references to the work being produced by this group.
> 
> Regarding the use commas to separate columns vs. semicolons in
> countries where the comma is used for decimal points, I am hesitant to
> make that change since that would no longer make these "CSV" files.

Agreed, by definition, CSV uses comma (","). However, a parser should be able to take alternative characters for this, such as TAB, for example, deriving TSV. Obviously, semi-colon would also be useful.

Gregg

> Thanks,
> Yakov
> 

Received on Tuesday, 8 April 2014 02:59:44 UTC