I noticed a repository’s .gitattributes entry for *.csv used text eol=crlf so I investigated and found this.

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    Don’t worry, it’s not really standardised despite this attempt. You can use UNIX line endings and nothing bad will happen.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      Unless you open it in Excel. In which case bad things will happen no matter what you have in the CSV…

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        20 hours ago

        If I am using Excel, I am using Windows and I will be changing all text to use CR-LF newline format (if sending from a Linux system) anyway.