{"thread":{"id":"10825","subject":"git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?","startedAt":"2007-11-12T12:04:05Z","lastAt":"2007-11-13T18:05:03Z","messageCount":2,"participants":["Ping Yin","René Scharfe"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"59470","messageId":"46dff0320711120404l5581b1fbpc91c2557bcad2c88@mail.gmail.com","threadId":"10825","inReplyTo":null,"subject":"git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?","fromName":"Ping Yin","fromEmail":"pkufranky@gmail.com","sentAt":"2007-11-12T12:04:05Z","receivedAt":"2007-11-12T12:04:05Z","isPatch":false,"sender":{"key":"pkufranky@gmail.com","avatar":"https://avatars.githubusercontent.com/u/5346?v=4"},"body":"$ gtcf --get-regexp i18n.*\ni18n.logoutputencoding GBK\n$ locale | grep LC_CTYPE\nLC_CTYPE=zh_CN.GBK\n$ git --version\ngit version 1.5.3.4\n\nAnd my terminal encoding is GBK\n\n$ git log --pretty=oneline\nmsgs with chinese character displayed correctly\n\nHowever\n$ git log --pretty=format:%s\nthe chinese character doesn't display correctly\n\n-- \nPing Yin\n"},{"id":"59684","messageId":"4739E74F.9070008@lsrfire.ath.cx","threadId":"10825","inReplyTo":"46dff0320711120404l5581b1fbpc91c2557bcad2c88@mail.gmail.com","subject":"Re: git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?","fromName":"René Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2007-11-13T18:05:03Z","receivedAt":"2007-11-13T18:05:03Z","isPatch":false,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Ping Yin schrieb:\n> $ gtcf --get-regexp i18n.*\n> i18n.logoutputencoding GBK\n> $ locale | grep LC_CTYPE\n> LC_CTYPE=zh_CN.GBK\n> $ git --version\n> git version 1.5.3.4\n> \n> And my terminal encoding is GBK\n> \n> $ git log --pretty=oneline\n> msgs with chinese character displayed correctly\n> \n> However\n> $ git log --pretty=format:%s\n> the chinese character doesn't display correctly\n\nYes, indeed, --pretty=format has always ignored encodings.  I'll see if\nI can cook up a patch later this week, if nobody beats me to it.\n\nRené\n"}]}