JackbyDev to ProgrammingEnglish · 6 months agoTIL that RFC 4180 specifies the CSV format to use CRLF line endingsdatatracker.ietf.orgexternal-linkmessage-square8linkfedilinkarrow-up152arrow-down10file-text
arrow-up152arrow-down1external-linkTIL that RFC 4180 specifies the CSV format to use CRLF line endingsdatatracker.ietf.orgJackbyDev to ProgrammingEnglish · 6 months agomessage-square8linkfedilinkfile-text
I noticed a repository’s .gitattributes entry for *.csv used text eol=crlf so I investigated and found this.
minus-squareKissakilinkfedilinkEnglisharrow-up8·6 months agoUnless you open it in Excel. In which case bad things will happen no matter what you have in the CSV…
minus-squareulternolinkfedilinkEnglisharrow-up0·6 months agoIf 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.
Unless you open it in Excel. In which case bad things will happen no matter what you have in the CSV…
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.