Re: [PATCH v2 0/9] icase match on non-ascii
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jul 8, 2015, 23:28 UTC
- Message-ID
- <CACsJy8CMm-iHAeV9OUCY7B_F=gikDg9QqftG29aqM0W_q3yF7Q@mail.gmail.com>
- In-Reply-To
- <CAPc5daWG7=tBm_G+G6Qkmd7bd=5Dd-8bimj1p+KW_FSTOFfRaw@mail.gmail.com>
On Wed, Jul 8, 2015 at 10:36 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
>> Patch 5 is "funny". The patch itself is in iso-8859-1, but my name in >> the commit message is in utf-8. > > As an e-mail message is a single file, by definition that is not merely > "funny" but just "broken", no matter what encoding your MUA > declares the contents are in, no?
Yes. But if your MUA is not so strict and does not reject invalid byte sequences, git-am might be able to process it. What are the options we have? Teach git-format-patch to generate patches with non-ascii chars as binary (utf-8 may be treated specially and kept as-is after validation)?
-- Duy