From 1fdbce2c4e24f96ed836db069778806eaa6d9849 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 23 Nov 2023 20:59:52 +0100 Subject: 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. --- Makefile | 1 - stylesheets/lfs-xsl/chunk-slave.xsl | 3 --- tidy.conf | 2 -- 3 files changed, 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/\©/ " \ -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 @@ - - - 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 -- cgit v1.2.3-54-g00ecf