Re: [bug] git diff --word-diff gives wrong result for utf-8 chinese
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Dec 1, 2022, 07:33 UTC
- Message-ID
- <CACSwcnRDmiiJU8hL+ON6c+b4Q8UtLVbtku_rHSD+c+BwcNEX+Q@mail.gmail.com>
- In-Reply-To
- <Y4ZVXWNHO25IFYQL@coredump.intra.peff.net>
> > If the rule is "break on ascii whitespace",
Is there a way to achieve this: break english by word, and break chinese by utf-8 character