From: Junio C Hamano Date: Tue, 24 Jul 2007 07:46:35 +0000 (-0700) Subject: Mark user-manual as UTF-8 X-Git-Tag: v1.5.3-rc3~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1cffddd654d3c094b632e3c41b0ed4641cfa33df;p=git.git Mark user-manual as UTF-8 There have been several complaints against k.org'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 loose. This attempts to force UTF-8 on the generating end. Signed-off-by: Junio C Hamano --- diff --git a/Documentation/Makefile b/Documentation/Makefile index b06275726..3bc5357ec 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -131,7 +131,7 @@ clean: user-manual.xml: user-manual.txt user-manual.conf $(ASCIIDOC) -b docbook -d book $< -XSLT = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl +XSLT = docbook.xsl XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css user-manual.html: user-manual.xml diff --git a/Documentation/docbook.xsl b/Documentation/docbook.xsl new file mode 100644 index 000000000..9a6912c64 --- /dev/null +++ b/Documentation/docbook.xsl @@ -0,0 +1,5 @@ + + + +