logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Template::Plugin::UTF8Decode - UTF8 decoder filter for Template Toolkit

Author

       Fabio Masini <fabio.masini@gmail.com>

Description

       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.

Name

       Template::Plugin::UTF8Decode - UTF8 decoder filter for Template Toolkit

Synopsis

         [% USE UTF8Decode %]

         [% ansi_string_var | utf8_decode | html_entity %]

See Also