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

1 messages from 2011-12-18 to 2011-12-18. Participants: Yuchen Deng.
Thread: https://gitlist.dev/t/29202

## Yuchen Deng, 2011-12-18 13:26

Subject: i18n.commitencoding=gbk or --encoding=gbk not work with --pretty=format
Message-ID: <1324214762135-7105845.post@n2.nabble.com>
URL: https://gitlist.dev/e/1324214762135-7105845.post%40n2.nabble.com

```
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.

```
