-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
48 lines (33 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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" encoding
print $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, "[email protected]"
Masahiro Chiba
Tomas Doran, "[email protected]"
LICENSE
This library is free software . You can redistribute it and/or modify it
under the same terms as perl itself.