---
name: "Template::Plugin::UTF8Decode"
section: "3pm"
platform: "linux"
package: "libtemplate-plugin-utf8decode-perl"
version: "0.01-1.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Template::Plugin::UTF8Decode"
---

# Template::Plugin::UTF8Decode(3pm)

UTF8 decoder filter for Template Toolkit

## NAME

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

## SYNOPSIS

```
  [% USE UTF8Decode %]
  [% ansi_string_var | utf8_decode | html_entity %]
```

## 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.

## AUTHOR

Fabio Masini \<fabio.masini@gmail.com\>

## 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.
