From: "René Scharfe" <rene.scharfe@lsrfire.ath.cx>
To: Ping Yin <pkufranky@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?
Date: Tue, 13 Nov 2007 19:05:03 +0100 [thread overview]
Message-ID: <4739E74F.9070008@lsrfire.ath.cx> (raw)
In-Reply-To: <46dff0320711120404l5581b1fbpc91c2557bcad2c88@mail.gmail.com>
Ping Yin schrieb:
> $ gtcf --get-regexp i18n.*
> i18n.logoutputencoding GBK
> $ locale | grep LC_CTYPE
> LC_CTYPE=zh_CN.GBK
> $ git --version
> git version 1.5.3.4
>
> And my terminal encoding is GBK
>
> $ git log --pretty=oneline
> msgs with chinese character displayed correctly
>
> However
> $ git log --pretty=format:%s
> the chinese character doesn't display correctly
Yes, indeed, --pretty=format has always ignored encodings. I'll see if
I can cook up a patch later this week, if nobody beats me to it.
René
prev parent reply other threads:[~2007-11-13 18:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 12:04 git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding? Ping Yin
2007-11-13 18:05 ` René Scharfe [this message]
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=4739E74F.9070008@lsrfire.ath.cx \
--to=rene.scharfe@lsrfire.ath.cx \
--cc=git@vger.kernel.org \
--cc=pkufranky@gmail.com \
/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).