diff options
author | Pierre Labastie <pierre.labastie@neuf.fr> | 2023-11-23 20:59:52 +0100 |
---|---|---|
committer | Pierre Labastie <pierre.labastie@neuf.fr> | 2023-11-23 20:59:52 +0100 |
commit | 1fdbce2c4e24f96ed836db069778806eaa6d9849 (patch) | |
tree | 47bdb5ecef2873a8df3c39d9ff0c1ae346f9d60a | |
parent | 5e8bab73a16e31200f9540879c7b87d54341806e (diff) |
Generate utf-8 encoded html
This removes several problems with wrong encodings...
The sed for © is not needed anymore
tidy.conf has to be changed to remove specification of latin1 as
input and output encodings.
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | stylesheets/lfs-xsl/chunk-slave.xsl | 3 | ||||
-rw-r--r-- | tidy.conf | 2 |
3 files changed, 0 insertions, 6 deletions
@@ -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/\©/ " \ -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"/> @@ -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 |