Junio C Hamano  committed 1cffddd

Mark user-manual as UTF-8

There have been several complaints against's user-manual
page. The document is generated in ISO-8859-1 by the xsltproc
toolchain (I suspect this is because released docbook.xsl we use
has xsl:output element that says the output is ISO-8859-1) but
server delivers it with "charset=UTF-8", and all h*ll breaks

This attempts to force UTF-8 on the generating end.

Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 8e64006

Comments (0)

Files changed (2)

File Documentation/Makefile

 user-manual.xml: user-manual.txt user-manual.conf
 	$(ASCIIDOC) -b docbook -d book $<
+XSLT = docbook.xsl
 XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css
 user-manual.html: user-manual.xml

File Documentation/docbook.xsl

+<xsl:stylesheet xmlns:xsl=""
+		version='1.0'>
+ <xsl:import href=""/>
+ <xsl:output method="html" encoding="UTF-8" indent="no" />