develooper Front page | perl.perl5.porters | Postings from January 2012

Re: pack and ASCII

Thread Previous | Thread Next
From:
Eric Brine
Date:
January 12, 2012 11:01
Subject:
Re: pack and ASCII
Message ID:
CALJW-qHBJwVt=LpHyw8b4WE6A3r=pEAMHt2k0RuALot6UbZn8g@mail.gmail.com
On Thu, Jan 12, 2012 at 1:27 PM, Greg Lindahl <greg@blekko.com> wrote:

> This is a gross over-mangling of someone else's words, and is typical
>
of the poor quality of this thread on p5p. Please raise your game.
> Thanks.
>

I didn't mean to. Let me rephrase:

The documentation says that pack "A" is limited to 7-bit chars, so your
surprise is understandable. But that doesn't make it a bug.

C<< pack "A" >> returning something a string with UTF8=1 is only a problem
if you have buggy code both on the input and the output side of C<pack>, so
why do you feel it's a bug? Did pack "A" ever do something you didn't want?

- Eric

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About