Skip Menu |

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 107776
Status: resolved
Priority: 0/
Queue: Encode

People
Owner: Nobody in particular
Requestors: Mark.Martinec [...] ijs.si
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.78
Fixed in: (no value)



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
cf. https://rt.cpan.org/Ticket/Display.html?id=107775 On Wed Oct 14 11:27:21 2015, Mark.Martinec@ijs.si wrote: Show quoted text
> 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