]> pere.pagekite.me Git - text-angrefrist.git/commitdiff
Switched HTML to UTF-8.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 31 Oct 2023 07:05:19 +0000 (08:05 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 31 Oct 2023 07:05:19 +0000 (08:05 +0100)
Makefile
data/lulu.xsl
data/pdf.xsl
data/stylesheet-html.xsl

index e3b5daff55b8494608687148b94860bb4bce77af..7bcec84faab2b0e5dcd4b9fa40798a42d171f368 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ virkninger-angrefristloven.epub: virkninger-angrefristloven.xml
        dbtoepub $^
 
 virkninger-angrefristloven.html: virkninger-angrefristloven.xml
        dbtoepub $^
 
 virkninger-angrefristloven.html: virkninger-angrefristloven.xml
-       xsltproc  \
+       xsltproc  --encoding UTF-8 \
            --output $(subst .pdf,.fo,$@) \
            data/stylesheet-html.xsl \
            $<
            --output $(subst .pdf,.fo,$@) \
            data/stylesheet-html.xsl \
            $<
index d3ca3ac668c13de0c81867e47354f02ef514fae1..92020d1463d9981a73f56e11379251456d30cec2 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding="iso-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 
 <!-- settings for LuLu PDF version -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 
 <!-- settings for LuLu PDF version -->
index da32dd92520922366504c79bc2d4e387d4381749..731160a40be87472c35c4455c8935b15a2a971c5 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding="iso-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 
 <!-- The TOC links in the titles, and in blue. -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 
 <!-- The TOC links in the titles, and in blue. -->
index a50f737b51321fb4246d6b590e8d1ea70c891fd9..3a882eea16f8d8a1cdb47c12e24615e3c0773837 100644 (file)
@@ -2,7 +2,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
-
+  <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes" />
   <!--
   <xsl:include href="user_param.xsl" />
   -->
   <!--
   <xsl:include href="user_param.xsl" />
   -->