Finding 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.
Tags: bom, grep, unix
This entry was posted
on Tuesday, November 13th, 2007 at 11:17 pm by Henrik Melin and is filed under note.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.