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

Re: [gitweb PATCH] Configure encoding

From
TKThomas Kolejka <thomas.kolejka@gmx.at>
Date
May 31, 2005, 11:12 UTC
Message-ID
<11399.1117537956@www67.gmx.net>
In-Reply-To
<20050531104425.GA23755@vrfy.org>
Show 32 quoted lines
> --- Ursprüngliche Nachricht ---
> Von: Kay Sievers <kay.sievers@vrfy.org>
> An: Petr Baudis <pasky@ucw.cz>
> Kopie: Thomas Kolejka <Thomas.Kolejka@gmx.at>, Git Mailing List
> <git@vger.kernel.org>
> Betreff: Re: [gitweb PATCH] Configure encoding
> Datum: Tue, 31 May 2005 12:44:25 +0200
> 
> On Tue, May 31, 2005 at 12:12:17PM +0200, Petr Baudis wrote:
> > 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...
> > > 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?
> 
> Yes. Also the content of the files, but fortunately they are just plain
> ascii most of the time. :)

I've made this changes becausae the german letters like ä, ö, ... are displayed ugly in the browser.

Show 8 quoted lines
> > Perhaps I should recode from current locale to utf8 in cg-commit?
> 
> Everthing else than utf-8 is just a complete mess with data shared
> across multiple machines. All modern distributions defaulting to utf-8
> anyway, so I think it is sane to recode that utf-8.
> 
> Kay
> -
The patch is to _change_ the encoding easy .. or to leave it unchanged.
Thomas
-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
Previous: Kay SieversNext: Kay Sievers
Message 5 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.