Unicode support for Catalyst (old style)
At request time Catalyst::Plugin::Unicode 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 (part of Catalyst 5.90042, packaged in libcatalyst-perl) is much more recommended, and that also does additional things (like decoding file upload filenames and request parameters which this plugin does not).
This plugin should be considered deprecated, but is maintained as a large number of applications are using it already.
Catalyst is an elegant Model-View-Controller web application framework written in Perl.
Debian: Damyan Ivanov <email@example.com>
15 May 2014
License: artistic or gpl-1+
Leaders and contributors
Resources and communication
|Debian (Ref) (R)||https://tracker.debian.org/pkg/libcatalyst-plugin-unicode-perl|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.