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

Re: [gitweb PATCH] Configure encoding

From
Petr Baudis <pasky@ucw.cz>
Date
May 31, 2005, 10:12 UTC
Message-ID
<20050531101217.GA25555@pasky.ji.cz>
In-Reply-To
<20050531091955.GA22706@vrfy.org>

Dear diary, on Tue, May 31, 2005 at 11:19:55AM CEST, I got a letter where Kay Sievers <kay.sievers@vrfy.org> told me that...

Show 16 quoted lines
> On Tue, May 31, 2005 at 09:55:11AM +0200, Thomas Kolejka wrote:
> > The following patch makes it easy to change the encoding:
> > 
> > 
> > --- gitweb.cgi.177      2005-05-31 09:43:17.000000000 +0200
> > +++ gitweb.cgi.p        2005-05-31 09:48:46.000000000 +0200
> > @@ -20,6 +20,9 @@
> >  my $my_uri =           $cgi->url(-absolute => 1);
> >  my $rss_link = "";
> >  
> > +my $encoding = "utf-8";
> > +$encoding = "iso-8859-1";
> 
> The upstream version will not support anything but the one and only
> sane encoding which is utf-8. It will not provide options to switch
> back to the 80's, sorry. :)
This matters mainly for commits, right?
Perhaps I should recode from current locale to utf8 in cg-commit?
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Kay SieversNext: Kay Sievers
Message 3 of 6 in “Configure encoding”
  1. Configure encodingThomas Kolejka, May 31, 2005
  2. Kay SieversMay 31, 2005
  3. Petr BaudisMay 31, 2005
  4. Kay SieversMay 31, 2005
  5. Thomas KolejkaMay 31, 2005
  6. Kay SieversMay 31, 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.