Template::Plugin::UTF8toANSI - Filter for Template Toolkit to convert UTF8 to ANSI
[% USE UTF8toANSI %] [% ansi_string_var | utf8_to_ansi %]
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.
Installs the filter as 'utf8_to_ansi'.
Receives a reference to the plugin object, along with the text to be filtered.
Andreas Hernitscheck ahernit AT cpan . org
This module is under the artistic licence and LGPL.
To install Template::Plugin::UTF8toANSI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::UTF8toANSI
CPAN shell
perl -MCPAN -e shell install Template::Plugin::UTF8toANSI
For more information on module installation, please visit the detailed CPAN module installation guide.