aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-19 12:28:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-19 12:28:45 +0100
commitd8534c980d298764a0956fb803e7b23f496e9a30 (patch)
tree56cd69847cb2505d508e0e7ec5841926de08c3c4 /perllib/FixMyStreet/App.pm
parent376e850108a06d0b3dc1d19fd1e77b123b775cc7 (diff)
Switch to Catalyst::Plugin::Unicode::Encoding as it handles incoming arguments better.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 2cb8cbbff..d6314ebf8 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -16,7 +16,7 @@ use URI::QueryParam;
use Catalyst (
'Static::Simple', #
- 'Unicode',
+ 'Unicode::Encoding',
'Session',
'Session::Store::DBIC',
'Session::State::Cookie', # FIXME - we're using our own override atm
@@ -34,6 +34,8 @@ __PACKAGE__->config(
name => 'FixMyStreet::App',
+ encoding => 'UTF-8',
+
# Disable deprecated behavior needed by old applications
disable_component_resolution_regex_fallback => 1,