1@node Texinfo::Encoding
2@chapter Texinfo::Encoding
3
4@menu
5* Texinfo@asis{::}Encoding NAME::
6* Texinfo@asis{::}Encoding SYNOPSIS::
7* Texinfo@asis{::}Encoding DESCRIPTION::
8* Texinfo@asis{::}Encoding METHODS::
9* Texinfo@asis{::}Encoding AUTHOR::
10@end menu
11
12@node Texinfo::Encoding NAME
13@section NAME
14
15Texinfo::Encoding - Encodings and encoding aliases
16
17@node Texinfo::Encoding SYNOPSIS
18@section SYNOPSIS
19
20@verbatim
21  use Texinfo::Encoding qw(encoding_alias);
22
23  my ($canonical_texinfo_encoding, $perl_encoding,
24      $canonical_output_encoding) = encoding_alias($encoding);
25@end verbatim
26
27@node Texinfo::Encoding DESCRIPTION
28@section DESCRIPTION
29
30Texinfo::Encoding takes care of encoding definition and aliasing.
31
32@node Texinfo::Encoding METHODS
33@section METHODS
34
35@table @asis
36@item ($canonical_texinfo_encoding, $perl_encoding, $canonical_output_encoding) = encoding_alias($encoding)
37@anchor{Texinfo::Encoding ($canonical_texinfo_encoding@comma{} $perl_encoding@comma{} $canonical_output_encoding) = encoding_alias($encoding)}
38
39Taking an encoding name as argument, the function returns the
40corresponding canonical Texinfo encoding @emph{$canonical_texinfo_encoding}
41as described in the Texinfo manual (or undef), an encoding name suitable
42for perl @emph{$perl_encoding}, and an encoding name suitable for most
43output formaats, especially HTML, @emph{$canonical_output_encoding}.
44
45@end table
46
47@node Texinfo::Encoding AUTHOR
48@section AUTHOR
49
50Patrice Dumas, <pertusus@@free.fr>
51
52