Grepping for files with byte order marks (BOM)
Tuesday, November 13th, 2007Finding offending php files with UTF8 byte order marks (BOM):
grep $'\xEF\xBB\xBF' * -rl | grep .php
Having byte order marks present in any of the Wordpress or bbPress files causes the content not to validate to XHTML 1.0 Strict.