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

Re: Change encoding of RSS feed to latin-1

From
NWNikolai Weibull <mailing-lists.git@rawuncut.elitemail.org>
Date
Nov 19, 2005, 20:14 UTC
Message-ID
<20051119201406.GA8985@puritan.petwork>
In-Reply-To
<200511192156.23259.ismail@uludag.org.tr>
Ismail Donmez wrote:
Show 5 quoted lines
> As the other thread grew into merits of using UTF-8 I think best fix
> for now is putting encoding=latin-1 into RSS feed so everyone is
> happy. After all its latin-1 encoded data not utf-8. Anyone disagrees?
> Can we now please fix/change gitweb so xml parsers can parse it
> without workarounding?

If you know that your log-messages will be in latin-1 or UTF-8 or whatever encoding you like, then modify your gitweb.cgi to match. Just search for 'utf-8' and change it to what you prefer.

What perhaps is of general interest is modifying the distributed gitweb.cgi to allow for easily changing the encoding on a per-installation basis, just like $projectroot is configurable on a per-installation basis.

UTF-8 is still a sane default for gitweb.cgi.
        nikolai
-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Previous: Ismail DonmezNext: Ismail Donmez
Message 2 of 3 in “Change encoding of RSS feed to latin-1”
  1. Ismail DonmezNov 19, 2005
  2. Nikolai WeibullNov 19, 2005
  3. Ismail DonmezNov 19, 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.