modxcms/revolution — pull request #692 by jiripavlicek (2013-10-25 14:07:33+00:00)
Title: some es, fr and th localisation files contains UTF8 BOM

Some es, fr and th localisation files contains UTF8 BOM bytes
(http://en.wikipedia.org/wiki/Byte_order_mark), this creates mysterious
errors because this BOM bytes are returned to browser when these
localisation files are included (only whe MODX cache is empty). Special
problems this makes on custom FormIt validators, because this BOM bytes
are returned in custom validator response! I spend hours to find this
mysterious problem. I discussed this error by jan.tezner@coex.cz.

Best way to reduce this errors in next MODX relases is to add UTF8 BOM filter to batch which makes ZIP archive or sometime scan Github repository. This UTF8 BOM problem contains some MODX extras :(

Jiri Pavlicek