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

Re: pack and ASCII

Thread Previous | Thread Next
From:
demerphq
Date:
January 9, 2012 07:37
Subject:
Re: pack and ASCII
Message ID:
CANgJU+UMidCpJwD=-ZSkFdUVa+0gh6s9R-9QLGiP3yEMURaWag@mail.gmail.com
On 9 January 2012 12:30, John P. Linderman (jpl) <jpl@research.att.com> wrote:
> According to perlfunc.pod, about pack:
>
> The TEMPLATE is a sequence of characters that give the order and type
> of values, as follows:
>
>     a  A string with arbitrary binary data, will be null padded.
>     A  A text (ASCII) string, will be space padded.
>     Z  A null-terminated (ASCIZ) string, will be null padded.
>
> The reference to ASCII (and ASCIZ) seems to be out of date, given recent
> unicode efforts.

Er, I dont get it. ASCII and ASCIIZ arent going to stop working just
because we have improved our unicode support.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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