Skip to contentSkip to conversation

i18n.commitencoding=gbk or --encoding=gbk not work with --pretty=format

DISCUSSION Yuchen Deng 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi, all!
When set the option i18n.commitencoding value to gbk. I found the 'git log' ouput encoding always is the default : utf8

    git log -n10 --pretty=format:"%h %d %an %s %ci" --topo-order --graph
or
    git log -n10 --encoding=utf8 --pretty=format:"%h %d %an %s %ci"

--topo-order --graph

But:

    git log --oneline

works well.
I am from China, and the GFW thing, I can't visit git-scm.com. So, Somebody can help me to report this bug?
I am sure it's don't work for Windows (msys-git) or Linux (Chakra). Thanks!

--
View this message in context: http://git.661346.n2.nabble.com/i18n-commitencoding-gbk-or-encoding-gbk-not-work-with-pretty-format-tp7105845p7105845.html
Sent from the git mailing list archive at Nabble.com.