I am using git
client under macOS Sierra 10.12.3, with iTerm2.
I have source files which contain Chinese Simplified & Chinese Traditional characters. Whenever I do git diff
, it shows like below:
In NetBeans IDE's git
tool, it manages to show diff in Chinese characters.
I read seems git diff
is using less
to display. Setting export LESSCHARSET=UTF-8
fails.
What shall I configure to make iTerm show git diff correctly? Thanks!