Problem
How to make git log command output properly displayed on 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 UTF-8 encoding table the codes between angled 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 sugested 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 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=
EDIT:
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.