
HTML::Encoder - Encode special caracters to HTML code.

use HTML::Encoder;
my $HE = new HTML::Encoder(
Extended_A => 1,
Extended_B => 1,
Latin_1 => 1,
);
$HE->encode($ref);

This module implement algorithm for encoding special caracters content in data structure to HTML code.

The constructor method.
my $HE = new HTML::Encoder(
Arrows => 0,
Controls => 0,
Extended_A => 1,
Extended_B => 1,
Geometric => 0,
Latin_1 => 1,
Letterlike => 0,
Mathematical => 0,
Miscellaneous => 0,
Modifier => 0,
Punctuation => 0,
Technical => 0,
);
or
my $HE = new HTML::Encode(); # Default Latin_1 entities encode true.
Parsing data structure to searching special caracters for convert in HTML code.
$HE->encode($ref);

W3C - http://www.w3c.org/

Fabiano Reese Righetti <frighetti@cpan.org>

Copyright 2003 Fabiano Reese Righetti <frighetti@cpan.org> All rights reserved.
This code is free software released under the GNU General Public License, the full terms of which can be found in the "COPYING" file in this directory.