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 /t | |
parent | 20fe27a76cd5ba8d912024f40c6ea881791623b0 (diff) |
Check that UTF8 in emails works
Diffstat (limited to 't')
-rw-r--r-- | t/app/helpers/send_email.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/helpers/send_email.t b/t/app/helpers/send_email.t index 6a7d77c0b..a44ddb01c 100644 --- a/t/app/helpers/send_email.t +++ b/t/app/helpers/send_email.t @@ -2,6 +2,7 @@ use strict; use warnings; +use utf8; BEGIN { use FixMyStreet; @@ -37,11 +38,14 @@ is $emails[0]->as_string, << 'END_OF_BODY', "email is as expected"; Subject: test email From: evdb@ecclestoad.co.uk To: test@recipient.com +Content-Type: text/plain; charset="utf-8" Hello, This is a test email where foo: bar. +utf8: 我们应该能够无缝处理UTF8编码 + Yours, FixMyStreet. END_OF_BODY |