]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed default for man.output.encoding to UTF-8. Because
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 23 Jun 2005 06:01:19 +0000 (06:01 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 23 Jun 2005 06:01:19 +0000 (06:01 +0000)
character-map processing depends on it. Also added note saying
that changing the value to another encoding my break character-map
processing, so set man.charmap.enabled to 0 in that case.

xsl/params/man.output.encoding.xml

index d98ed86c2f00dae64f02dae52e04f7f76975ec1e..39c8791e513eaaed3aeb9ec3fdfb5328be44aa23 100644 (file)
@@ -10,7 +10,7 @@
 
 <refsynopsisdiv>
 <src:fragment id='man.output.encoding.frag'>
-<xsl:param name="man.output.encoding" select="'ISO-8859-1'"/></src:fragment>
+<xsl:param name="man.output.encoding" select="'UTF-8'"/></src:fragment>
 </refsynopsisdiv>
 
 <refsect1><title>Description</title>
 by the manpages stylesheet. Not all processors support specification
 of this parameter.</para>
 
+<warning>
+  <para>If you set a value for the
+  <parameter>man.output.encoding</parameter> parameter that is other
+  than <literal>UTF-8</literal> or <literal>UTF-16</literal>, you may
+  also need to also disable character-map processing, by setting the
+  value of the <parameter>man.charmap.enabled</parameter> parameter to
+  zero. Character-map processing is based on Unicode character values
+  may not work with other output encodings</para>
+</warning>
+
 </refsect1>
 </refentry>