NAME
Template::Provider::Unicode::Japanese - Decode all templates by Unicode::Japanese
VERSION
This document describes Template::Provider::Unicode::Japanese $Revision: 1.2 $
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';
DESCRIPTION
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.
SUBROUTINES/METHODS
_load(@)
It decode the template to utf8.
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
Template::Provider::Unicode::Japanese requires no configuration files or environment variables.
DEPENDENCIES
Template::Provider, Unicode::Japanese
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-template-provider-unicode-japanese@rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Provider-Unicode-Japanese. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
AUTHOR
Hironori Yoshida <yoshida@cpan.org>
LICENSE AND COPYRIGHT
Copyright (c) 2006, Hironori Yoshida <yoshida@cpan.org>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.