1Catalyst::Plugin::UnicoUdsee(r3)Contributed Perl DocumenCtaattailoynst::Plugin::Unicode(3)
2
3
4
6 Catalyst::Plugin::Unicode - Unicode aware Catalyst (old style)
7
9 # DO NOT USE THIS - Use Catalyst::Plugin::Unicode::Encoding instead
10 # which is both more correct, and handles more cases.
11 use Catalyst qw[Unicode];
12
14 On request, decodes all params from UTF-8 octets into a sequence of
15 logical characters. On response, encodes body into UTF-8 octets.
16
17 Note that this plugin tries to autodetect if your response is encoded
18 into characters before trying to encode it into a byte stream. This is
19 bad as sometimes it can guess wrongly and cause problems.
20
21 As an example, latin1 characters such as é (e-accute) will not actually
22 cause the output to be encoded as utf8.
23
24 Using Catalyst::Plugin::Unicode::Encoding is much more recommended, and
25 that also does additional things (like decoding file upload filenames
26 and request parameters which this plugin does not).
27
28 This plugin should be considered deprecated, but is maintained as a
29 large number of applications are using it already.
30
32 finalize
33 Encodes body into UTF-8 octets.
34
35 prepare_parameters
36 Decodes parameters into a sequence of logical characters.
37
39 utf8, Catalyst.
40
42 Christian Hansen, "<ch@ngmedia.com>"
43
44 Marcus Ramberg, "<mramberg@pcan.org>"
45
46 Jonathan Rockway "<jrockway@cpan.org>"
47
48 Tomas Doran, (t0m) "<bobtfish@bobtfish.net>"
49
51 Copyright (c) 2005 - 2009 the Catalyst::Plugin::Unicode "AUTHORS" as
52 listed above.
53
55 This library is free software . You can redistribute it and/or modify
56 it under the same terms as perl itself.
57
58
59
60perl v5.32.1 2021-01-26 Catalyst::Plugin::Unicode(3)