From e7225b6cc853942caef1c9c4d8889b716c34bc04 Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Wed, 2 Oct 2019 20:32:54 +0200 Subject: [PATCH] prepare 9.4.0 release --- CHANGELOG.md | 2 +- docs/9.0/connections/bom.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44715070..589326f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All Notable changes to `Csv` will be documented in this file -## Next - TBD +## 9.4.0 - 2019-10-02 ### Added diff --git a/docs/9.0/connections/bom.md b/docs/9.0/connections/bom.md index 6a963f76..84c06250 100644 --- a/docs/9.0/connections/bom.md +++ b/docs/9.0/connections/bom.md @@ -80,6 +80,8 @@ $bom = $csv->getOutputBOM(); //returns "\xEF\xBB\xBF"

Since version 9.4.0.

+If your document contains a BOM sequence by the following methods control its presence when processing it. + ~~~php AbstractCsv::skipInputBOM(): self; AbstractCsv::includeInputBOM(): self; @@ -90,7 +92,7 @@ AbstractCsv::isInputBOMIncluded(): bool; - `includeInputBOM`: preserves the input BOM from your CSV document while accessing its content. - `isInputBOMIncluded`: tells whether skipping or including the input BOM will be done. -

By default and to avoid BC Break, the Input BOM is skipped.

+

By default and to avoid BC Break, the Input BOM, if present, is skipped.

If your document does not contains any BOM sequence you can speed up the CSV iterator by preserving its presence which means that no operation to detect and remove it if present will take place.