test/fixtures/rfc2047-header-encoding.eml (606B) - raw
1 From: test@example.invalid
2 To: test@example.invalid
3 Date: Sun, 19 Jul 2020 17:03:56 +1000
4 Subject:
5 =?US-ASCII?q?Hans Martin Djupvik?= =?ISO-8859-1?q?,_Ingrid_B=F8?=
6 =?KOI8-R?b?LCDp0snOwSDzycTP0s/XwQ?=
7 =?UTF-16?b?//4sACAASgBlAHMAcABlAHIAIABCAGUAcgBnAA?=
8 =?UTF-7?b?LCBGcmlkYSBFbmcrQVBnLQ?=
9 bad: =?UTF16?q?badcharsetname?= =?US-ASCII?b?/w?=
10 =?UTF-7?Q?=41=6D=65=72=69=63=61=E2=80=99=73?=
11
12 The subject header contains various RFC2047 encoded words.
13 For completeness we test both base64 and quoted-printable, and some
14 ASCII-incompatible encodings.
15 We also include some bogus words which cannot be decoded.