I am using a Javascript file that is a concatenation of other JavaScript files.
Unfortunately, the person who concatenated these JavaScript files together did not us
I also figured out this solution which works entirely in PHP:
$packed = pack("CCC",0xef,0xbb,0xbf); $contents = preg_replace('/'.$packed.'/','',$contents);