Re: [PATCH 00/22] Refactor to accept NUL in commit messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 27, 2011, 18:47 UTC
- Message-ID
- <7v7h3qz2yo.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20111027181303.GF1967@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I'm tempted to detect the UTF-{16,32}{LE,BE} by their BOM, reencode them
> to utf8, and then display them in utf8. Is that too gross for us to
> consider?I tend to think so; it is entirely a different matter if the user instructed us to clean/smudge UTF-16 payload into/outof UTF-8.