changeset 20924:abde88225c3a

Output UTF-8 instead of legacy encodings by default.
author diego
date Wed, 15 Nov 2006 10:37:41 +0000
parents 40a2ec4a49ff
children 74b8d7cf4edb
files DOCS/xml/html-common.xsl DOCS/xml/pl/Makefile DOCS/xml/pl/html-chunk.xsl DOCS/xml/pl/html-common.xsl DOCS/xml/pl/html-single.xsl DOCS/xml/ru/Makefile DOCS/xml/ru/html-chunk.xsl DOCS/xml/ru/html-common.xsl DOCS/xml/ru/html-single.xsl
diffstat 9 files changed, 7 insertions(+), 68 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/html-common.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ b/DOCS/xml/html-common.xsl	Wed Nov 15 10:37:41 2006 +0000
@@ -8,6 +8,9 @@
      Set parameters
      ************** -->
 
+  <xsl:param name="chunker.output.encoding" select="'utf-8'"/>
+  <xsl:output encoding="utf-8"/>
+
   <xsl:param name="toc.section.depth" select="'4'"/>
 
   <xsl:param name="html.stylesheet" select="'default.css'"/>
--- a/DOCS/xml/pl/Makefile	Wed Nov 15 08:36:06 2006 +0000
+++ b/DOCS/xml/pl/Makefile	Wed Nov 15 10:37:41 2006 +0000
@@ -5,7 +5,7 @@
 USE_SYMLINKS = no
 
 # Dependency information.
-$(HTMLDIR)/index.html: $(wildcard *.xml) html-common.xsl
-$(HTMLFILE): $(wildcard *.xml) html-common.xsl
+$(HTMLDIR)/index.html: $(wildcard *.xml)
+$(HTMLFILE): $(wildcard *.xml)
 
 include ../Makefile.inc
--- a/DOCS/xml/pl/html-chunk.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:import href="../html-chunk.xsl"/>
-  <xsl:include href="html-common.xsl"/>
-
-</xsl:stylesheet>
--- a/DOCS/xml/pl/html-common.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:param name="chunker.output.encoding" select="'iso-8859-2'"/>
-  <xsl:output encoding="iso-8859-2"/>
-  <xsl:param name="local.l10n.xml" select="document('')"/>
-  <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
-    <l:l10n language="pl">
-	  <l:gentext key="NOTE" text="Informacja"/>
-	  <l:gentext key="Note" text="Informacja"/>
-	  <l:gentext key="note" text="Informacja"/>
-	</l:l10n>
-  </l:i18n>
-
-</xsl:stylesheet>
--- a/DOCS/xml/pl/html-single.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:import href="../html-single.xsl"/>
-  <xsl:include href="html-common.xsl"/>
-
-</xsl:stylesheet>
--- a/DOCS/xml/ru/Makefile	Wed Nov 15 08:36:06 2006 +0000
+++ b/DOCS/xml/ru/Makefile	Wed Nov 15 10:37:41 2006 +0000
@@ -5,7 +5,7 @@
 USE_SYMLINKS = yes
 
 # Dependency information.
-$(HTMLDIR)/index.html: $(wildcard *.xml) html-common.xsl
-$(HTMLFILE): $(wildcard *.xml) html-common.xsl
+$(HTMLDIR)/index.html: $(wildcard *.xml)
+$(HTMLFILE): $(wildcard *.xml)
 
 include ../Makefile.inc
--- a/DOCS/xml/ru/html-chunk.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:import href="../html-chunk.xsl"/>
-  <xsl:include href="html-common.xsl"/>
-
-</xsl:stylesheet>
--- a/DOCS/xml/ru/html-common.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:param name="chunker.output.encoding" select="'KOI8-R'"/>
-  <xsl:output encoding="KOI8-R"/>
-
-  <!-- This forces Saxon to output chars from KOI8-R as is and not as something like &#444;
-    WARNING: This will probably work with HTML output, and won't with output XML.
-    Anyway, this file will generate only HTML :)
-    -->
-  <xsl:param name="saxon.character.representation" select="'native;decimal'"/>
-
-</xsl:stylesheet>
--- a/DOCS/xml/ru/html-single.xsl	Wed Nov 15 08:36:06 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:import href="../html-single.xsl"/>
-  <xsl:include href="html-common.xsl"/>
-
-</xsl:stylesheet>