Subject: | Produces a continuation line with no leading whitespace when encoding |
Encode::MIME::Header produces a continuation line with
no leading whitespace when encoding, which is illegal:
$ perl -e 'use Encode; use utf8; printf("Subject: %s\n", encode("MIME-Q",
"report\n\tL_TEST_REPORT_ENCODING En-tête contient caractères\n\tend-report"))'
...produces:
Subject: report
=?UTF-8?Q?=09L=5FTEST=5FREPORT=5FENCODI?=
=?UTF-8?Q?NG=20En=2Dt=C3=AAte=20contient=20?= =?UTF-8?Q?caract=C3=A8res?=
end-report