NAME
Catalyst::Plugin::Unicode - Unicode aware Catalyst
SYNOPSIS
use Catalyst qw[Unicode];
DESCRIPTION
On request, decodes all params from UTF-8 octets into a sequence of logical characters. On response, encodes body into UTF-8 octets.
Note that this plugin tries to autodetect if your response is encoded into characters before trying to encode it into a byte stream. This is bad as sometimes it can guess wrongly and cause problems.
As an example, latin1 characters such as é (e-accute) will not actually cause the output to be encoded as utf8.
Using Catalyst::Plugin::Unicode::Encoding is more recommended, but that requires that all data inputs have correctly been decoded into perl's internal character representation.
OVERLOADED METHODS
- finalize
-
Encodes body into UTF-8 octets.
- prepare_parameters
-
Decodes parameters into a sequence of logical characters.
SEE ALSO
AUTHORS
Christian Hansen, <ch@ngmedia.com>
Marcus Ramberg, <mramberg@pcan.org>
Jonathan Rockway <jrockway@cpan.org>
Tomas Doran, (t0m) <bobtfish@bobtfish.net>
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 56:
Non-ASCII character seen before =encoding in 'é'. Assuming UTF-8