Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libcatalyst-plugin-unicode-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libcatalyst-plugin-unicode-perl  ]

套件: libcatalyst-plugin-unicode-perl (0.93-3)

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.

其他與 libcatalyst-plugin-unicode-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libcatalyst-perl (>= 5.70)
    elegant Model-View-Controller Web Application Framework
  • dep: libmro-compat-perl (>= 0.10)
    mro::* interface compatibility for Perls < 5.9.5
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libcatalyst-plugin-unicode-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 6.4 kB51 kB [文件列表]