#72648Automatically remove BOM in css files before concatenation
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.