Marcus Ramberg > Catalyst-Plugin-Unicode-Encoding-0.3 > Catalyst::Plugin::Unicode::Encoding

Download:
Catalyst-Plugin-Unicode-Encoding-0.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Module Version: 0.3   Source   Latest Release: Catalyst-Plugin-Unicode-Encoding-1.9

NAME ^

Catalyst::Plugin::Unicode::Encoding - Unicode aware Catalyst

SYNOPSIS ^

    use Catalyst qw[Unicode::Encoding];

    MyApp->config( encoding => 'UTF-8' ); # A valid Encode encoding

DESCRIPTION ^

On request, decodes all params from encoding into a sequence of logical characters. On response, encodes body into encoding.

METHODS ^

encoding

Returns a instance of a Encode encoding

    print $c->encoding->name

OVERLOADED METHODS ^

finalize

Encodes body into encoding.

prepare_parameters

Decodes parameters into a sequence of logical characters.

setup

Setups $c->encoding with encoding specified in $c->config->{encoding}.

SEE ALSO ^

Encode, Encode::Encoding, Catalyst::Plugin::Unicode, Catalyst.

AUTHOR ^

Christian Hansen, ch@ngmedia.com

LICENSE ^

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

syntax highlighting: