Surprised to learn that CSV does actually have an IETF RFC standardising it: https://tools.ietf.org/html/rfc4180 (handling real data is messy though)