[PATCH] Don't consider UTF-16 and UTF-32 files as binary (issue1975) (version 2)

Dirkjan Ochtman dirkjan at ochtman.nl
Mon Feb 8 09:03:05 CST 2010


On Mon, Feb 8, 2010 at 15:43, Ollivier Robert <roberto at keltia.net> wrote:
> Hmmm, technically, you don't need a BOM in UTF-8 so checking for it seems wrong to me.

I disagree. We want UTF-8 to not be treated as binary, so we want to
check for any BOMs people might include, even if it's optional for
UTF-8.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list