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

Character set for the HTML documentation

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Jul 17, 2007, 23:31 UTC
Message-ID
<469D516B.6030806@zytor.com>
I just got the following email:
Show 11 quoted lines
> The Git documentation at
> <http://www.kernel.org/pub/software/scm/git/docs/user-manual.html> is
> encoded in ISO 8859-1, but it is being served with a content-type header
> of "text/plain; charset=UTF-8".
> 
> The content-type header overrides the value declared in the <meta> tag
> of the HTML document, so this causes browsers to render the
> documentation incorrectly.
> 
> Apologies if this is a well known issue and you get a lot of mail like
> this BTW, just don't LART me too hard. ;)

The fact that browsers behave this way is of course a bug, but it's a common one. Can we switch the documentation over to UTF-8, this is 2007 after all...?

	-hpa
Next: Junio C Hamano
Message 1 of 3 in “Character set for the HTML documentation”
  1. H. Peter AnvinJul 17, 2007
  2. Junio C HamanoJul 18, 2007
  3. Geoff RichardsJul 18, 2007

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.