• Jason2357@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    I usually treat them by using an extremely well established library where someone else has spent the requisite years crying over every stupid edge case of csv reading. Rolling your own csv reader is a bit like encryption. Until someone hands you a file that rejects all sanity and you start fking with regex. Lol.