Template::Provider::Unicode::Japanese - Decode all templates by Unicode::Japanese


Template-Provider-Unicode-Japanese documentation  | view source Contained in the Template-Provider-Unicode-Japanese distribution.

Index


NAME

Top

Template::Provider::Unicode::Japanese - Decode all templates by Unicode::Japanese

VERSION

Top

This document describes Template::Provider::Unicode::Japanese version 1.2.1

SYNOPSIS

Top

    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

Top

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

Top

_load(@)

It decode the template to utf8.

DIAGNOSTICS

Top

None.

CONFIGURATION AND ENVIRONMENT

Top

Template::Provider::Unicode::Japanese requires no configuration files or environment variables.

DEPENDENCIES

Top

Template::Provider, Unicode::Japanese

INCOMPATIBILITIES

Top

None reported.

BUGS AND LIMITATIONS

Top

ASCII template can not have utf8 flag.

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

Top

Hironori Yoshida <yoshida@cpan.org>

LICENSE AND COPYRIGHT

Top


Template-Provider-Unicode-Japanese documentation  | view source Contained in the Template-Provider-Unicode-Japanese distribution.