Bug#879205: MIME::Words::encode_mimewords: double-encodes (produces Mojibake), produces too long lines

gregor herrmann gregoa at debian.org
Fri Oct 20 13:31:27 UTC 2017


On Fri, 20 Oct 2017 14:56:01 +0200, Thorsten Glaser wrote:

> Package: libmime-tools-perl
> Version: 5.508-1
> Severity: normal
> 
> Perhaps in a misguided attempt to fix #879204, this happens:
> 
> (sid-amd64)tglase at tglase:~ $ perl -MEncode -MMIME::Words -e 'print MIME::Words::encode_mimewords(Encode::encode("UTF-8", "Re: Bildungsurlaub für CCC-Fahrt? [THD#1424195]"), Charset => "UTF-8", Field => "Subject") . "\n";'
> Re: Bildungsurlaub =?UTF-8?Q?f=C3=83=C2=BCr=20?=CCC-Fahrt? [THD#1424195]
> 
> Not only decodes this to…
> 	Re: Bildungsurlaub für  CCC-Fahrt? [THD#1424195]
> … but it’s also too long *and* has no space between the encoded MIME part
> and the next word (“CCC-Fahrt?”), which might cause trouble in strict
> readers.

Right, forwarded upstream as
https://rt.cpan.org/Ticket/Display.html?id=123335


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Page&Plant: When The World Was Young
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20171020/083a85dc/attachment.sig>


More information about the pkg-perl-maintainers mailing list