summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/test/data/bad-charset.eml
blob: 417e268999bb5de9fae13c941ffb4747c7803a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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--