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

  • verstra@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I hate that the pleasant news about standardization of CSV come with the let-down that is using two bytes for new lines.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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
        3
        ·
        1 year ago

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