in reply to Easy detection of BOM
Sure, File::BOM is the way to go, why not :)
Kinda related are file/File::LibMagic, mimetype
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (79 votes). Check out past polls.