summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/static/mail/broken-utf8.eml9
-rw-r--r--tests/static/mail/sender-with-wide-chars.eml5
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/static/mail/broken-utf8.eml b/tests/static/mail/broken-utf8.eml
new file mode 100644
index 00000000..583d994c
--- /dev/null
+++ b/tests/static/mail/broken-utf8.eml
@@ -0,0 +1,9 @@
+Subject: Broken UTF8 byte in quoted printable
+From: josh@github
+To: test@alot
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+=C2=A1This works!
+=A1This doesn't!
diff --git a/tests/static/mail/sender-with-wide-chars.eml b/tests/static/mail/sender-with-wide-chars.eml
new file mode 100644
index 00000000..4058d82b
--- /dev/null
+++ b/tests/static/mail/sender-with-wide-chars.eml
@@ -0,0 +1,5 @@
+Subject: wide chars in From: header
+From: =?utf-8?b?5ZC06bmP?= <pazz@github>
+To: test@alot
+
+testing issue #1262.