aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2023-11-23 20:59:52 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2023-11-23 20:59:52 +0100
commit1fdbce2c4e24f96ed836db069778806eaa6d9849 (patch)
tree47bdb5ecef2873a8df3c39d9ff0c1ae346f9d60a
parent5e8bab73a16e31200f9540879c7b87d54341806e (diff)
Generate utf-8 encoded html
This removes several problems with wrong encodings... The sed for &copy; is not needed anymore tidy.conf has to be changed to remove specification of latin1 as input and output encodings.
-rw-r--r--Makefile1
-rw-r--r--stylesheets/lfs-xsl/chunk-slave.xsl3
-rw-r--r--tidy.conf2
3 files changed, 0 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1c23a55f5..71b82d0c6 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,6 @@ book: validate profile-html
true; \
/bin/bash obfuscate.sh $$filename; \
sed -e "s@text/html@application/xhtml+xml@g" \
- -e "s/\xa9/\&copy;/ " \
-i $$filename; \
done;
diff --git a/stylesheets/lfs-xsl/chunk-slave.xsl b/stylesheets/lfs-xsl/chunk-slave.xsl
index dab359d1d..1482ae351 100644
--- a/stylesheets/lfs-xsl/chunk-slave.xsl
+++ b/stylesheets/lfs-xsl/chunk-slave.xsl
@@ -10,9 +10,6 @@
<!-- Upstream XHTML presentation templates -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
- <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
- <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
-
<!-- Including our customized elements templates -->
<xsl:include href="common.xsl"/>
<xsl:include href="xhtml/lfs-admon.xsl"/>
diff --git a/tidy.conf b/tidy.conf
index 9db8e5f92..fc3672899 100644
--- a/tidy.conf
+++ b/tidy.conf
@@ -1,8 +1,6 @@
indent-spaces: 2
wrap: 78
tab-size: 8
-input-encoding: latin1
-output-encoding: latin1
write-back: yes
markup: yes
indent: yes