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é - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html