So you want to write your own CSV code (2014)
One thing that has always puzzled me is why CSV exists, given the ASCII unit/record seperators appear to do exactly what the comma and newline characters are attempting to do with codes which could appear within records, and have been well defined since some point in the 60s.<p>And here we are, 60 years later still struggling to work out where a record ends...