Added new public function usage to docs...
This commit is contained in:
parent
03e85ffc21
commit
4827e56cac
@ -110,6 +110,7 @@ use Box\Spout\Common\Type;
|
|||||||
$reader = ReaderFactory::create(Type::CSV);
|
$reader = ReaderFactory::create(Type::CSV);
|
||||||
$reader->setFieldDelimiter('|');
|
$reader->setFieldDelimiter('|');
|
||||||
$reader->setFieldEnclosure('@');
|
$reader->setFieldEnclosure('@');
|
||||||
|
$reader->setEndOfLineCharacter("\r");
|
||||||
```
|
```
|
||||||
|
|
||||||
Additionally, if you need to read non UTF-8 files, you can specify the encoding of your file this way:
|
Additionally, if you need to read non UTF-8 files, you can specify the encoding of your file this way:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user