Problem
How can I make git log command output properly displayed in the Windows CLI terminal?
Example
As you can see, I can type diacritical characters properly, but on git log, the output is somehow escaped. According to the UTF-8 encoding table, the codes between angle brackets (< and >) from the output correspond to the previously typed git config parameters.
I have tried to set LESSCHARSET environment variable to utf-8 as suggested in one of the answers for similar issue, but then the output is garbled:
I know .git/config is encoded properly with UTF-8 as it's handled by gitk as expected.
Here is the locale command output if necessary:
LANG=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=
The output is the same also in pure Git Bash:
so I believe the problem is shell-independent and relates to Git or its configuration itself.




 
     
    



 
     
     
     
     
     
     
    