NAME

Template::Plugin::UTF8toANSI - Filter for Template Toolkit to convert UTF8 to ANSI

SYNOPSIS

[% USE UTF8toANSI %]

[% ansi_string_var | utf8_to_ansi %]

DESCRIPTION

This module converts strings in template toolkit from UTF8 to ansi. I use that to prepare RTF documents, which are ansi coded by using text from UTF8 coded MySQL databases.

METHODS

init

Installs the filter as 'utf8_to_ansi'.

filter

Receives a reference to the plugin object, along with the text to be filtered.

AUTHOR

Andreas Hernitscheck ahernit AT cpan . org

COPYRIGHT AND LICENSE

This module is under the artistic licence and LGPL.