Actions
Feature #72648
closedAutomatically remove BOM in css files before concatenation
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-01-12
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
When css files contain a BOM (https://en.wikipedia.org/wiki/Byte_order_mark), it must be removed. Because when the BOM does not occur on the beginning of a file, it will be interpreted as a normal character, which will make the following css rule invalid.
There is a corresponding warning in the documentation (https://wiki.typo3.org/UTF-8_support#File_system), but the subsequent problems (when a css file contains a BOM) are tricky to track down and even trickier to fix. Because of this I think people will stick with excludeFromConcatenation, or - even worse - with config.concatenateCss = 0
I'll commit a possible solution to gerrit in a moment.
Actions