Skip to content

Commit

Permalink
bug fix BOM sequence value
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Oct 27, 2016
1 parent d1b540d commit 3344798
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

## Next
## 8.1.2 - 2016-10-27

### Added

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "8.0-dev"
"dev-master": "8.1-dev"
}
}
}
2 changes: 1 addition & 1 deletion src/AbstractCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 3344798

@hengsoheak
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class 'League\Csv\Writer' not found

Please sign in to comment.