Task #42164

CGL-Documentation - Add a notice about byte order mark

Added by Andy Grunwald about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
- Documentation -
Target version:
-
Start date:
2012-10-19
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
Yes
Complexity:
no-brainer

Description

In the PHP and JS CGL there is mentioned that all files must be UTF-8 encoded:

Files must be encoded in UTF-8

Afaik UTF-8 can ship with byte order mark or without.
In PSR-1 there is a notice about the BOM in UTF-8 files (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md).

In some cases the BOM creates some wired problems in PHP.

I think we should add a small notice about the BOM :)

Also available in: Atom PDF