{"id":1303,"date":"2024-04-10T15:38:43","date_gmt":"2024-04-10T14:38:43","guid":{"rendered":"https:\/\/ibex.tech\/programming\/?p=1303"},"modified":"2024-04-10T15:38:44","modified_gmt":"2024-04-10T14:38:44","slug":"csv-file-line-ending","status":"publish","type":"post","link":"https:\/\/ibex.tech\/programming\/file-formats\/csv\/csv-file-line-ending","title":{"rendered":"csv file line ending"},"content":{"rendered":"\n<p>Lines are terminated by any sequence of carriage-return or newline characters (&#8216;\\r&#8217; or &#8216;\\n&#8217;). Windwos systems will place &#8220;\\r\\n&#8221;, but other systems will not.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Final comma<\/h4>\n\n\n\n<p>A comma is not placed after the final cell value on a row\/line, the line ending &#8220;\\r\\n&#8221; is just used without it (unless you want to place commas for unused cells there of course).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lines are terminated by any sequence of carriage-return or newline characters (&#8216;\\r&#8217; or &#8216;\\n&#8217;). Windwos systems will place &#8220;\\r\\n&#8221;, but other systems will not. Final comma A comma is not placed after the final cell value on a row\/line, the line ending &#8220;\\r\\n&#8221; is just used without it (unless you want to place commas for [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"class_list":["post-1303","post","type-post","status-publish","format-standard","hentry","category-csv"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/posts\/1303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/comments?post=1303"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/posts\/1303\/revisions"}],"predecessor-version":[{"id":1304,"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/posts\/1303\/revisions\/1304"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/media?parent=1303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/categories?post=1303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/programming\/wp-json\/wp\/v2\/tags?post=1303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}