# Change encoding of RSS feed to latin-1

3 messages from 2005-11-19 to 2005-11-19. Participants: Ismail Donmez, Nikolai Weibull.
Thread: https://gitlist.dev/t/2605

## Ismail Donmez, 2005-11-19 19:56

Subject: Change encoding of RSS feed to latin-1
Message-ID: <200511192156.23259.ismail@uludag.org.tr>
URL: https://gitlist.dev/e/200511192156.23259.ismail%40uludag.org.tr

```
Ok,

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?

Regards,
ismail

```

## Nikolai Weibull, 2005-11-19 20:14

Subject: Re: Change encoding of RSS feed to latin-1
Message-ID: <20051119201406.GA8985@puritan.petwork>
URL: https://gitlist.dev/e/20051119201406.GA8985%40puritan.petwork
In-Reply-To: <200511192156.23259.ismail@uludag.org.tr>

```
Ismail Donmez wrote:

> 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);}

```

## Ismail Donmez, 2005-11-19 20:18

Subject: Re: Change encoding of RSS feed to latin-1
Message-ID: <200511192218.33352.ismail@uludag.org.tr>
URL: https://gitlist.dev/e/200511192218.33352.ismail%40uludag.org.tr
In-Reply-To: <20051119201406.GA8985@puritan.petwork>

```
Saturday 19 November 2005 22:14 tarihinde, Nikolai Weibull şunları yazmıştı: 
> Ismail Donmez wrote:
> > 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.

I am just interested in parsing linus's tree's rss feed. And no UTF-8 is not a 
sane default when the encoding used is not UTF-8. And Linus puts it it will 
be latin-1 for long I guess.

Regards,
ismail

```
