From: René Scharfe Date: Tue, 13 Nov 2007 18:05:03 GMT Subject: Re: git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding? Message-ID: <4739E74F.9070008@lsrfire.ath.cx> 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é