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 an instance of an
Encode
encodingprint $c->encoding->name
OVERLOADED METHODS
- finalize_headers
-
Encodes body into encoding.
- prepare_uploads
-
Decodes parameters, query_parameters, body_parameters and filenames in file uploads into a sequence of logical characters.
- prepare_action
-
Decodes request arguments (i.e.
$c->request->arguments
) and captures (i.e.$c->request->captures
). - setup
-
Setups
$c->encoding
with encoding specified in$c->config->{encoding}
.
SEE ALSO
Encode, Encode::Encoding, Catalyst::Plugin::Unicode, Catalyst.
AUTHORS
Christian Hansen, ch@ngmedia.com
Masahiro Chiba
Tomas Doran, bobtfish@bobtfish.net
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.