git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yuchen Deng <loaden@gmail.com>
To: git@vger.kernel.org
Subject: i18n.commitencoding=gbk or --encoding=gbk not work with --pretty=format
Date: Sun, 18 Dec 2011 05:26:02 -0800 (PST)	[thread overview]
Message-ID: <1324214762135-7105845.post@n2.nabble.com> (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.

                 reply	other threads:[~2011-12-18 13:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1324214762135-7105845.post@n2.nabble.com \
    --to=loaden@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).