KillBom
This extension will remove the BOM from all UTF-8 encoded files. Resulting file will still be UTF-8 but without the pesky BOM bytes.
Contents
1. Status
This extension is not distributed with Mercurial.
Author: Josip Medved
Repository: https://bitbucket.org/jmedved/hg-killbom
2. Overview
Following commands are added:
hg checkbom to see if there are files starting with UTF-8 BOM.
hg killbom to remove any UTF-8 BOM found.
3. Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] killbom = /path/to/killbom.py