aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/app/helpers/send_email.t4
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