| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* League.Csv (https://csv.thephpleague.com) |
| 5 |
* |
| 6 |
* (c) Ignace Nyamagana Butera <[email protected]> |
| 7 |
* |
| 8 |
* For the full copyright and license information, please view the LICENSE |
| 9 |
* file that was distributed with this source code. |
| 10 |
*/ |
| 11 |
|
| 12 |
namespace League\Csv; |
| 13 |
|
| 14 |
/** |
| 15 |
* Defines constants for common BOM sequences. |
| 16 |
*/ |
| 17 |
interface ByteSequence |
| 18 |
{ |
| 19 |
const BOM_UTF8 = "\xEF\xBB\xBF"; |
| 20 |
const BOM_UTF16_BE = "\xFE\xFF"; |
| 21 |
const BOM_UTF16_LE = "\xFF\xFE"; |
| 22 |
const BOM_UTF32_BE = "\x00\x00\xFE\xFF"; |
| 23 |
const BOM_UTF32_LE = "\xFF\xFE\x00\x00"; |
| 24 |
} |
| 25 |
|