UTF-8 Bom Fixer

UTF-8 Bom Fixer

Fix files "infected" by UTF-8 BOM character written in PHP (4,5,7 compatible)

This character purpose is to force encode files in UTF-8 by adding a special character at the beginning of the file. Issues appears with this character on a web server because it might be interpreted (e.g : PHP files are not interpreted anymore)

Easy installation with a single line of code:

docker run --rm -ti -v "$PWD:/src" femtopixel/utf8-bom-fixer bomreplacer /src php,css

More detailed information

If you want to support my work, you can spread it or considering donation :