diff options
author | Ignace Nyamagana Butera <nyamsprod@gmail.com> | 2016-10-27 13:21:24 +0200 |
---|---|---|
committer | Ignace Nyamagana Butera <nyamsprod@gmail.com> | 2016-10-27 13:21:24 +0200 |
commit | 33447984f7a7038fefaa5a6177e8407b66bc85b4 (patch) | |
tree | 3c94eb6b1067120be5bf1718282887cfc83bec46 | |
parent | d1b540ddd33a8b04c2f97083457e056cc6449703 (diff) | |
download | csv-33447984f7a7038fefaa5a6177e8407b66bc85b4.zip csv-33447984f7a7038fefaa5a6177e8407b66bc85b4.tar.gz csv-33447984f7a7038fefaa5a6177e8407b66bc85b4.tar.bz2 |
bug fix BOM sequence value8.1.2
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | composer.json | 2 | ||||
-rw-r--r-- | src/AbstractCsv.php | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 295bbd1..a300630 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 b13f590..6a40b79 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 5bbc946..3a7996d 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 |