From: Ping Yin Date: Tue, 29 Nov 2022 03:46:43 GMT Subject: [bug] git diff --word-diff gives wrong result for utf-8 chinese Message-ID: Result of "git diff" - 为1 + 为2 or (if chinese can not be displayed correctly) - 1 + 2 Actual result of "git diff --color-words" [-1-]{+2+} Expected result of "git diff --color-words" 为[-1-]{+2+} or (if chinese can not be displayed correctly) [-1-]{+2+} Ping Yin