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: