EOL conversion and BOM removal