develooper Front page | perl.perl5.porters | Postings from April 2007

Re: perl, the data, and the tf8 flag

Thread Previous | Thread Next
Juerd Waalboer
April 4, 2007 12:54
Re: perl, the data, and the tf8 flag
Message ID:
Just like all the other pack template letters, "A" does byte strings.
Whether they are latin1 encoded strings, utf8 encoded strings, or
jpeg-images, is irrelevant. The only thing that makes it different from
"a" is the padding.

I agree that calling this "ASCII" is wrong. But "latin1" is not an
improvement, and any discussion of the UTF8 flag in this context is

(The only pack template letter that doesn't do byte strings is "U". It
should probably never have been added to pack.)
korajn salutojn,

  juerd waalboer:  perl hacker  <>  <>
  convolution:     ict solutions and consultancy <>

Ik vertrouw stemcomputers niet.
Zie <>.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About