FixEntities(3)

NAME
HTML::FixEntities - Convert latin1 characters to HTML entities

SYNOPSIS
HTML::FixEntities converts any latin1 characters found to their HTML entity equivalents.

DESCRIPTION

  Methods

new HTML::FixEntities ($text, $convert_badchars)
    Generates a new fix object, converting $text. If $convert_badchars is true characters which are unknown will be removed.

    HTML::FixEntities will not adjust any text inside <? and ?> (for php scripts) =item $fix->text;

    Returns the fixed text.

$fix->totalchanges
    Total number of characters changed