From: Charles McGarvey Date: Fri, 14 Oct 2011 18:08:43 +0000 (-0600) Subject: add unicode support X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=ab11c0a9fd7ef63f13a4b78ef3ffde75db43f1a3;p=chaz%2Fchatty add unicode support --- diff --git a/Makefile.PL b/Makefile.PL index 18cbdfb..c5c28ca 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -17,6 +17,7 @@ requires 'Catalyst::Plugin::Authentication'; requires 'Catalyst::Plugin::Session'; requires 'Catalyst::Plugin::Session::Store::FastMmap'; requires 'Catalyst::Plugin::Session::State::Cookie'; +requires 'Catalyst::Plugin::Unicode::Encoding'; requires 'Catalyst::Action::RenderView'; requires 'Moose'; requires 'namespace::autoclean'; diff --git a/lib/Chatty.pm b/lib/Chatty.pm index 72353a7..8658526 100644 --- a/lib/Chatty.pm +++ b/lib/Chatty.pm @@ -25,6 +25,7 @@ use Catalyst qw/ Session Session::Store::FastMmap Session::State::Cookie + Unicode::Encoding /; extends 'Catalyst'; @@ -41,12 +42,9 @@ our $VERSION = '0.01'; # local deployment. __PACKAGE__->config( - name => 'Chatty', - # Disable deprecated behavior needed by old applications - disable_component_resolution_regex_fallback => 1, -); - -__PACKAGE__->config( + name => 'Chatty', + # Disable deprecated behavior needed by old applications + disable_component_resolution_regex_fallback => 1, 'Plugin::Authentication' => { default => { class => 'SimpleDB',