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.
This commit is contained in:
Pierre Labastie 2023-11-23 20:59:52 +01:00
parent 5e8bab73a1
commit 1fdbce2c4e
3 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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"/>

View File

@ -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