git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitweb: charset problem
@ 2005-10-24  7:18 Nico -telmich- Schottelius
  2005-10-24 12:34 ` Kay Sievers
  2005-10-24 13:56 ` Horst von Brand
  0 siblings, 2 replies; 8+ messages in thread
From: Nico -telmich- Schottelius @ 2005-10-24  7:18 UTC (permalink / raw)
  To: Kay Sievers, Git Mailing List; +Cc: Christian Gierke, Peter Portmann

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

Hello!

gitweb (my $version =           "247";) seems to send utf-8 as meta tag encoding
(<meta http-equiv="content-type" content="text/html; charset=utf-8"/>).
The problem is that the name of the user "HansjOErg" (OE is the german umlaut)
is in iso8859-1 in /etc/passwd.
This is guessed, but it does not look like utf-8, as it's a one byte encoding:

00007b0: 3031 323a 3130 303a 4861 6e73 6af6 7267  012:100:Hansj.rg

What would be the correct way to fix that? Change the username to utf-8?
(Is this possible without causing problems in other programs?)
Or tell gitweb that it should convert non-UTF-8 to UTF-8?

But we also have another problem: Sometimes we have umlauts in the commit messages.
Those are also displayed incorrectly. When I switch to iso-8859-1 encoding in mozilla,
the characters in the username and in the commit message are ok.

Greetings,

Nico

-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-10-25 17:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24  7:18 gitweb: charset problem Nico -telmich- Schottelius
2005-10-24 12:34 ` Kay Sievers
2005-10-24 13:56 ` Horst von Brand
2005-10-24 21:55   ` Daniel Barkalow
2005-10-24 22:39     ` Junio C Hamano
2005-10-25 16:01       ` Daniel Barkalow
2005-10-25 17:31         ` Junio C Hamano
2005-10-25 17:44         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).