On Tue, Jun 02, 2015 at 02:04:57PM +0200, Thorsten Glaser wrote:
> Package: perl
> Version: 5.20.2-6
> Severity: normal

> printf '%s' "[service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit 
> unterschiedlichen" | \
>     perl -C7 -0777 -Mutf8 -MEncode -e "print encode('MIME-Q', 'Subject: ' . 
> <>);"

> Subject: [service-Aufgaben S&W-Team][#19415] VM''
>  s aufsetzen mit unterschiedlichen

Thanks, looks buggy to me too. Interestingly decoding the output with
MIME-Q seems to have the same bug so it roundtrips correctly.

You might want to run your test suite on the MIME-EncWords implementation too,
available in the libmime-encwords-perl package. It seems to get at least this 
one right.

% printf '%s' "[service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit 
unterschiedlichen" | \
    perl -C7 -0777 -MEncode::MIME::EncWords -Mutf8 -MEncode -e "print 
encode('MIME-EncWords-Q', 'Subject: ' . <>);"
Subject: [service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit
 unterschiedlichen

-- 
Niko Tyni   nt...@debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to