Re:CSV as a Data Source
by justinator on Thursday August 01, 2013 @03:31PM
(#6142857)
From what I understand, you're basically right, but you're basically right only in a sense that that's what most people do. There's no "CSV Data Format" spec. It's all just what most people agree on, most of the time. Unless someone has another idea.
[ Parent
| on HN ]
Re:CSV as a Data Source
by steveklabnik on Thursday August 01, 2013 @04:18PM
(#6143178)
text/csv is defined in RFC 4180: https://tools.ietf.org/html/rfc4180
Strictly, the definition in RFC 4180 mandates ASCII which makes it unusable for many purposes. I guess there's nothing practical stopping you from using another encoding though.
Re:CSV as a Data Source
by steveklabnik on Thursday August 01, 2013 @07:29PM
(#6144337)
> Common usage of CSV is US-ASCII, but other character sets defined
> by IANA for the "text" tree may be used in conjunction with the
> "charset" parameter.
http://www.rfc-editor.org/rfc/rfc6657.txthttps://www.iana.org/assignments/character-sets/character-se...