From 341e82f6ebfda390145093f7e9919b2984157a30 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Sun, 17 Dec 2017 16:49:37 +0900 Subject: [PATCH] Line ending is detected automatically since commit f2310e05d Closes #293 --- docs/topics/reading-and-writing-to-file.md | 2 -- docs/topics/reading-files.md | 1 - 2 files changed, 3 deletions(-) diff --git a/docs/topics/reading-and-writing-to-file.md b/docs/topics/reading-and-writing-to-file.md index e04d6377..045ccc49 100644 --- a/docs/topics/reading-and-writing-to-file.md +++ b/docs/topics/reading-and-writing-to-file.md @@ -455,7 +455,6 @@ $reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv(); $reader->setInputEncoding('CP1252'); $reader->setDelimiter(';'); $reader->setEnclosure(''); -$reader->setLineEnding("\r\n"); $reader->setSheetIndex(0); $spreadsheet = $reader->load("sample.csv"); @@ -481,7 +480,6 @@ imports onto the 6th sheet: $reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv(); $reader->setDelimiter(';'); $reader->setEnclosure(''); -$reader->setLineEnding("\r\n"); $reader->setSheetIndex(5); $reader->loadIntoExisting("05featuredemo.csv", $spreadsheet); diff --git a/docs/topics/reading-files.md b/docs/topics/reading-files.md index d15f2649..8f22e71b 100644 --- a/docs/topics/reading-files.md +++ b/docs/topics/reading-files.md @@ -551,7 +551,6 @@ set other attributes for the data load: Method | Default -------------------|---------- setEnclosure() | `"` -setLineEnding() | `PHP_EOL` setInputEncoding() | `UTF-8` Setting CSV delimiter applies to: