What if the git diff and git log commands display Chinese as hexadecimal under CMD?

how to solve the problem that the git diff command displays Chinese as buff, under CMD?
as shown in figure

clipboard.png
:

clipboard.png

CMDGIT BASH:

clipboard.png

PS:CMDUTF-8

clipboard.png

but because I am used to using CMD, a rookie, I would like to ask how to solve it?

Git
Oct.26,2021

says that the Git for windows version is not compatible with CMD, so you can only use git bash instead of < span class= "emoji emoji-smile" >


I use cmder, that is, export LESSCHARSET=utf-8 under conemu,liunx, set LESSCHARSET=utf-8 can be solved under win, and the permanent solution under win is to create a new environment variable LESSCHARSET=utf-8.


export LANG=zh_CN.UTF-8

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e163-40971.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e163-40971.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?