Andreas Hernitscheck > Template-Plugin-UTF8toANSI-0.01 > Template::Plugin::UTF8toANSI

Download:
Template-Plugin-UTF8toANSI-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.01   Source  

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.

syntax highlighting: