SYNOPSIS

  [% USE encoding 'euc-jp' -%]
  <?xml version="1.0" encoding="[% encoding %]"?>

DESCRIPTION

Template::Plugin::encoding is a Template plugin to declare the encoding of template files. This plugin doesn't actually do anything but Template::Provider::Encoding scans the usage of this module to find the encoding of templates. As a bonus, you can use \*(C`encoding\*(C' variable in the template to specify file encoding, which might be useful for \s-1XML\s0 or \s-1HTML\s0 meta tag.

AUTHOR

Tatsuhiko Miyagawa <[email protected]>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

RELATED TO Template::Plugin::encoding…

Template::Provider::Encoding