Detect, enforce or strip BOM signatures.