Template::Provider::Unicode::Japanese is a Perl module to decode all templates by Unicode::Japanese.
SYNOPSIS
use Template::Provider::Unicode::Japanese;
my $tt = Template->new({
LOAD_TEMPLATES => [ Template::Provider::Unicode::Japanese->new ],
...
});
or
$Template::Config::PROVIDER = 'Template::Provider::Unicode::Japanese';
If the utf8 flag is different between the template and the string inserted(such as [% var %]), the output will be unreadable. We should make all of them utf8 flagged. However, Template::Provider::_decode_unicode decode only data with BOM. This provider makes all templates utf8 flagged by Unicode::Japanese.
Product's homepage
Requirements:
· Perl