summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/test/data/bad-charset.eml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/test/data/bad-charset.eml')
-rw-r--r--comm/mailnews/test/data/bad-charset.eml29
1 files changed, 29 insertions, 0 deletions
diff --git a/comm/mailnews/test/data/bad-charset.eml b/comm/mailnews/test/data/bad-charset.eml
new file mode 100644
index 0000000000..417e268999
--- /dev/null
+++ b/comm/mailnews/test/data/bad-charset.eml
@@ -0,0 +1,29 @@
+To: test@example.com
+From: test@example.com
+Subject: plaintext + HMTL, both with a bad charset
+Message-ID: <a30f750d-d56c-8a52-971c-f95a131e8332@example.com>
+Date: Sat, 30 Dec 2017 19:31:21 +0100
+User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101
+ Thunderbird/59.0a1
+MIME-Version: 1.0
+Content-Type: multipart/alternative;
+ boundary="------------FAB286B8794CC63C0A0FD1BB"
+
+This is a multi-part message in MIME format.
+--------------FAB286B8794CC63C0A0FD1BB
+Content-Type: text/plain; charset="bad-charset"
+Content-Transfer-Encoding: quoted-printable
+
+Despite the bad charset we can find the search term Mätterhorn.
+Note that the umlaut is encoded in windows-1252.
+
+
+--------------FAB286B8794CC63C0A0FD1BB
+Content-Type: text/html; charset="bad-charset"
+Content-Transfer-Encoding: quoted-printable
+
+<body>
+Despite the bad charset we can find the search term Matterhörn.
+Note that the umlaut is encoded in UTF-8.</body>
+
+--------------FAB286B8794CC63C0A0FD1BB--