On Thu, 2004-10-07 at 16:42, Phil Archer wrote: > Incidentally, I found a routine on the W3C site that I was able to quickly > adapt to detect/strip BOMs (see below).
There's also http://search.cpan.org/dist/File-BOM/ which might or might not be useful. If you're looking for even more alternatives, the W3C Markup Validator also has some BOM stuff in the main "check" script...
