* git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?
@ 2007-11-12 12:04 Ping Yin
2007-11-13 18:05 ` René Scharfe
0 siblings, 1 reply; 2+ messages in thread
From: Ping Yin @ 2007-11-12 12:04 UTC (permalink / raw)
To: Git Mailing List
$ 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
--
Ping Yin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?
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
0 siblings, 0 replies; 2+ messages in thread
From: René Scharfe @ 2007-11-13 18:05 UTC (permalink / raw)
To: Ping Yin; +Cc: Git Mailing List
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é
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-13 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).