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

Re: gitweb: charset problem

From
Junio C Hamano <junkio@cox.net>
Date
Oct 25, 2005, 17:44 UTC
Message-ID
<7v64rlfq40.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0510251138290.25300@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 5 quoted lines
> It wouldn't be hard to convert at some point between the editor and the 
> commit object, and you don't re-edit the commit objects like you do 
> tracked files. It probably wouldn't even be hard for commit-tree to 
> convert its input based on locale. (And stuff which prints commit contents 
> for user consumption probably ought to re-encode it if necessary, too)

Don't get me wrong. I am not opposed to giving preferential treatment to UTF-8 by supporting it better. I think it may be a good idea to have an *option* in commit-tree and mktag to convert from LC_CTYPE to utf-8, just like mailinfo does.

I am just opposing to make UTF-8 mandatory.
Previous: Junio C Hamano
Message 6 of 6 in “Re: gitweb: charset problem”
  1. Horst von BrandOct 24, 2005
  2. Daniel BarkalowOct 24, 2005
  3. Junio C HamanoOct 24, 2005
  4. Daniel BarkalowOct 25, 2005
  5. Junio C HamanoOct 25, 2005
  6. Junio C HamanoOct 25, 2005

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.