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

Re: pack and ASCII

Thread Previous | Thread Next
Eric Brine
January 12, 2012 11:01
Re: pack and ASCII
Message ID:
On Thu, Jan 12, 2012 at 1:27 PM, Greg Lindahl <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About