git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?

From
Ping Yin <pkufranky@gmail.com>
Date
Nov 12, 2007, 12:04 UTC
Message-ID
<46dff0320711120404l5581b1fbpc91c2557bcad2c88@mail.gmail.com>

$ 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
Next: René Scharfe
Message 1 of 2 in “git-log --pretty=format:%s doesn't honor option i18n.logoutputencoding?”
  1. Ping YinNov 12, 2007
  2. René ScharfeNov 13, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.