diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-03-03 09:05:44 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-03-03 09:05:44 +0000 |
commit | c47cfe2bdd85b1561b57a5bccad9a1512af1f1bb (patch) | |
tree | 92286ee54a8485855cd935751a515542aaa5690e /perllib/FixMyStreet/App | |
parent | 20fe27a76cd5ba8d912024f40c6ea881791623b0 (diff) |
Check that UTF8 in emails works
Diffstat (limited to 'perllib/FixMyStreet/App')
-rw-r--r-- | perllib/FixMyStreet/App/View/Email.pm | 1 | ||||
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/View/Email.pm b/perllib/FixMyStreet/App/View/Email.pm index 646615d36..fa46623eb 100644 --- a/perllib/FixMyStreet/App/View/Email.pm +++ b/perllib/FixMyStreet/App/View/Email.pm @@ -12,6 +12,7 @@ __PACKAGE__->config( INCLUDE_PATH => [ # FixMyStreet->path_to( 'templates', 'email', 'default' ), ], + ENCODING => 'utf8', render_die => 1, expose_methods => ['loc'], ); diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index 1c6d73ca7..9c16e0d84 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -12,6 +12,7 @@ __PACKAGE__->config( INCLUDE_PATH => [ # FixMyStreet->path_to( 'templates', 'web', 'default' ), ], + ENCODING => 'utf8', render_die => 1, expose_methods => ['loc'], ); |