Doku-Base
Texi2html Linux Dokumentation
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.1 Setting the encodings

There are four encodings relevant for texi2html, they are associated with corresponding variables:

  1. The encoding appearing in @documentencoding. The associated value overrides the $DOCUMENT_ENCODING variable value.
  2. The texinfo files encoding, associated with the variable $IN_ENCODING. This variable is overriden when $DOCUMENT_ENCODING is set, if the encoding is supported by perl.
  3. The out files encoding, associated with the variable $OUT_ENCODING. If not defined, the value of $ENCODING_NAME or $IN_ENCODING is used if one of these variables is set.
  4. The encoding advertized in out files, associated with the variable $ENCODING_NAME. If unset the value of this variable is based on the other ENCODING variables, and if they are all undefined, the variable $DEFAULT_ENCODING is used.

The values for the encoding related variables are set in the default init_out function reference (see section Preparing the output).

In general the $DOCUMENT_ENCODING and $IN_ENCODING are set to the right values, and to force a given encoding for the output, the $ENCODING_NAME value may be set. The current default output encoding is UTF-8.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]


Doku-Base

This document was created by Netzdino using texi2html.