[issue2162] BOM (byte order mark) support for Mercurial.ini

Yuya Nishihara bugs at mercurial.selenic.com
Tue Apr 27 13:48:13 UTC 2010


New submission from Yuya Nishihara <yuya at tcha.org>:

Some text editors, like Notepad.exe, insert BOM (byte order mark) silently if 
you save Mercurial.ini as UTF-8.

IMHO, they shouldn't insert BOM for UTF-8, but it's really hard to debug 
because BOM isn't visible. So it seems reasonable to skip/recognize BOM 
before reading Mercurial.ini.

See also the discusson at tortoisehg:
http://bitbucket.org/tortoisehg/stable/issue/1190/

----------
messages: 12401
nosy: youjah
priority: wish
status: unread
title: BOM (byte order mark) support for Mercurial.ini

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2162>
____________________________________________________


More information about the Mercurial-devel mailing list