Skip Menu |
 

This queue is for tickets about the Encode CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

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



Subject: encoding "0" with MIME-Headers gets a blank string
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.16-15563-1376430594-107.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 116
Download (untitled) / with headers
text/plain 116b
perl -MEncode=encode -le 'print encode("MIME-Header", $_) for (0, 1)' Emits "\n1\n" Should emit "0\n1\n" -- rjbs
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-15563-1376430594-107.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.16-15563-1376430594-107.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-26673-1376444753-203.87831-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 326
Download (untitled) / with headers
text/plain 326b
Thanks, fixed in github repo. VERSION++ to follow. https://github.com/dankogai/p5-encode/commit/3b763bc7d255535cee70835594de2d261a04f660 Dan the Maintainer Thereof On Tue Aug 13 17:49:55 2013, RJBS wrote: Show quoted text
> perl -MEncode=encode -le 'print encode("MIME-Header", $_) for (0, 1)' > > Emits "\n1\n" > > Should emit "0\n1\n"


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.