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

Re: OT: character encodings

From
David Woodhouse <dwmw2@infradead.org>
Date
Jan 8, 2007, 01:53 UTC
Message-ID
<1168221232.14763.80.camel@shinybook.infradead.org>
In-Reply-To
<45A17645.1030905@imap.cc>
On Sun, 2007-01-07 at 23:37 +0100, Tilman Schmidt wrote:
Show 5 quoted lines
> > That depends on your point of view.  David's assertion was that git
> > internally uses UTF-8.
> 
> Well, I'm inclined to say he was wrong. Git internally is completely
> oblivious to character encoding.

See the 'i18n.commitencoding' property, stored in the repository config and defaulting to UTF-8. Git is certainly capable of converting to its internal storage encoding when you commit; if it doesn't do so by default then that would be a bug.

-- 
dwmw2
Previous: Xavier Bestel
Message 4 of 4 in “Re: OT: character encodings (was: Linux 2.6.20-rc4)”
  1. SeanJan 7, 2007
  2. Jan EngelhardtJan 7, 2007
  3. Xavier BestelJan 7, 2007
  4. David WoodhouseJan 8, 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.