[2] | 1 | <refentry id="man.output.encoding">
|
---|
| 2 | <refmeta>
|
---|
| 3 | <refentrytitle>man.output.encoding</refentrytitle>
|
---|
| 4 | <refmiscinfo role="type">string</refmiscinfo>
|
---|
| 5 | </refmeta>
|
---|
| 6 | <refnamediv>
|
---|
| 7 | <refname>man.output.encoding</refname>
|
---|
| 8 | <refpurpose>Encoding used for man-page output</refpurpose>
|
---|
| 9 | </refnamediv>
|
---|
| 10 |
|
---|
| 11 | <refsynopsisdiv>
|
---|
| 12 | <src:fragment id='man.output.encoding.frag'>
|
---|
| 13 | <xsl:param name="man.output.encoding" select="'UTF-8'"/></src:fragment>
|
---|
| 14 | </refsynopsisdiv>
|
---|
| 15 |
|
---|
| 16 | <refsect1><title>Description</title>
|
---|
| 17 |
|
---|
| 18 | <para>This parameter specifies the encoding to use for files generated
|
---|
| 19 | by the manpages stylesheet. Not all processors support specification
|
---|
| 20 | of this parameter.</para>
|
---|
| 21 |
|
---|
| 22 | <important>
|
---|
| 23 | <para>If the value of the <parameter>man.charmap.enabled</parameter>
|
---|
| 24 | parameter is non-zero (the default), keeping the
|
---|
| 25 | <parameter>man.output.encoding</parameter> parameter at its default
|
---|
| 26 | value (<literal>UTF-8</literal>) or setting it to
|
---|
| 27 | <literal>UTF-16</literal> <emphasis role="bold" >does not cause your
|
---|
| 28 | man pages to be output in raw UTF-8 or UTF-16</emphasis> -- because
|
---|
| 29 | any Unicode characters for which matches are found in the enabled
|
---|
| 30 | character map will be replaced with roff escape sequences before the
|
---|
| 31 | final man-page files are generated.</para>
|
---|
| 32 |
|
---|
| 33 | <para>So if you want to generate "real" UTF-8 man pages, without any
|
---|
| 34 | character substitution being performed on your content, you need to
|
---|
| 35 | set <parameter>man.charmap.enabled</parameter> to zero (which will
|
---|
| 36 | completely disable character-map processing). </para>
|
---|
| 37 |
|
---|
| 38 | <para>You may also need to set
|
---|
| 39 | <parameter>man.charmap.enabled</parameter> to zero if you want to
|
---|
| 40 | output man pages in an encoding other than <literal>UTF-8</literal>
|
---|
| 41 | or <literal>UTF-16</literal>. Character-map processing is based on
|
---|
| 42 | Unicode character values and may not work with other output
|
---|
| 43 | encodings.</para>
|
---|
| 44 | </important>
|
---|
| 45 |
|
---|
| 46 | </refsect1>
|
---|
| 47 | </refentry>
|
---|