Skip to content

Commit 3344798

Browse files
committed
bug fix BOM sequence value
1 parent d1b540d commit 3344798

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All Notable changes to `Csv` will be documented in this file
44

5-
## Next
5+
## 8.1.2 - 2016-10-27
66

77
### Added
88

@@ -14,7 +14,8 @@ All Notable changes to `Csv` will be documented in this file
1414

1515
### Fixed
1616

17-
- BOM filtering fix [issue #184](ttps://github.com/thephpleague/csv/issues/184)
17+
- BOM filtering fix [issue #184](https://github.com/thephpleague/csv/issues/184)
18+
- `AbstractCsv::BOM_UTF32_LE` value fixed
1819

1920
### Removed
2021

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"extra": {
4545
"branch-alias": {
46-
"dev-master": "8.0-dev"
46+
"dev-master": "8.1-dev"
4747
}
4848
}
4949
}

src/AbstractCsv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ abstract class AbstractCsv implements JsonSerializable, IteratorAggregate
6363
/**
6464
* UTF-32 LE BOM sequence
6565
*/
66-
const BOM_UTF32_LE = "\x00\x00\xFF\xFE";
66+
const BOM_UTF32_LE = "\xFF\xFE\x00\x00";
6767

6868
/**
6969
* The constructor path

0 commit comments

Comments
 (0)