HTML::FillInForm::ForceUTF8 - FillInForm with utf8 encoding


HTML-FillInForm-ForceUTF8 documentation  | view source Contained in the HTML-FillInForm-ForceUTF8 distribution.

Index


NAME

Top

HTML::FillInForm::ForceUTF8 - FillInForm with utf8 encoding

SYNOPSIS

Top

  use HTML::FillInForm::ForceUTF8;

  my $fif = HTML::FillInForm::ForceUTF8->new;

  my $fdat;
  $fdat->{foo} = "\x{306a}\x{304c}\x{306e}"; #Unicode flagged
  $fdat->{bar} = "\xe3\x81\xaa\xe3\x81\x8c\xe3\x81\xae"; # UTF8 bytes

  my $output = $fif->fill(
    scalarref => \$html,
    fdat => $fdat
  );




DESCRIPTION

Top

HTML::FillInForm::ForceUTF8 is a subclass of HTML::FillInForm that forces utf8 flag on html and parameters. This allows you to prevent filling garbled result.

SEE ALSO

Top

HTML::FillInForm

AUTHOR

Top

Masahiro Nagano, <kazeburo@nomadscafe.jp>

COPYRIGHT AND LICENSE

Top


HTML-FillInForm-ForceUTF8 documentation  | view source Contained in the HTML-FillInForm-ForceUTF8 distribution.