Masayoshi Sekimura > Template-Provider-Encode-0.02 > Template::Provider::Encode

Download:
Template-Provider-Encode-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Template::Provider::Encode - Encode templates for Template Toolkit

SYNOPSIS ^

  use Template::Provider::Encode;
  use Template;
  my $tt = Template->new(
      LOAD_TEMPLATES => [Template::Provider::Encode::UTF8->new({ie=>'shiftjis'
                                                                oe=>'utf8'})]
  );
  my $author = "\xe3\x81\x9b\xe3\x81\x8d\xe3\x82\x80\xe3\x82\x89";
  $tt->process('t/tmpl/SJIS.tt2', {author => $author});

DESCRIPTION ^

TBW

SEE ALSO ^

Encode, Template::Provider

AUTHOR ^

Masayoshi Sekimura, <sekimura at gmail dot com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 by Masayoshi Sekimura

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: