Template::Plugin::UTF8Decode3pm
Utf8 decoder filter for template toolkit
Usage
[% USE UTF8Decode %][% ansi_string_var | utf8_decode | html_entity %]
Overview
This module is a Template Toolkit filter, which decode a string to utf8. For example, using FreeTDS (http://www.freetds.org) in order to talk with ms sql, can return an utf8 string as byte char.
Methods
init
Installs the filter as 'utf8_decode'.
filter
Receives a reference to the plugin object, along with the text to be filtered.
Copyright and license
Copyright (C) 2009 Fabio Masini
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.