From 33447984f7a7038fefaa5a6177e8407b66bc85b4 Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Thu, 27 Oct 2016 13:21:24 +0200 Subject: [PATCH] bug fix BOM sequence value --- CHANGELOG.md | 5 +++-- composer.json | 2 +- src/AbstractCsv.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 295bbd10..a3006304 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All Notable changes to `Csv` will be documented in this file -## Next +## 8.1.2 - 2016-10-27 ### Added @@ -14,7 +14,8 @@ All Notable changes to `Csv` will be documented in this file ### Fixed -- BOM filtering fix [issue #184](ttps://github.com/thephpleague/csv/issues/184) +- BOM filtering fix [issue #184](https://github.com/thephpleague/csv/issues/184) +- `AbstractCsv::BOM_UTF32_LE` value fixed ### Removed diff --git a/composer.json b/composer.json index b13f590b..6a40b796 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ }, "extra": { "branch-alias": { - "dev-master": "8.0-dev" + "dev-master": "8.1-dev" } } } diff --git a/src/AbstractCsv.php b/src/AbstractCsv.php index 5bbc9467..3a7996d4 100644 --- a/src/AbstractCsv.php +++ b/src/AbstractCsv.php @@ -63,7 +63,7 @@ abstract class AbstractCsv implements JsonSerializable, IteratorAggregate /** * UTF-32 LE BOM sequence */ - const BOM_UTF32_LE = "\x00\x00\xFF\xFE"; + const BOM_UTF32_LE = "\xFF\xFE\x00\x00"; /** * The constructor path