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

Re: the utf8 flag

Thread Previous | Thread Next
Juerd Waalboer
March 31, 2007 06:44
Re: the utf8 flag
Message ID:
Dr.Ruud skribis 2007-03-31 14:00 (+0200):
> > unicode explicitly is a superset of latin1.
> But there are defined differences:
> $ perl -wle '(chr().chr(255)) =~ /^\s/ and $n++  and print for 0..255;
> $ perl -wle '(chr().chr(256)) =~ /^\s/ and $n++  and print for 0..255;

That's a bug; see also the subthread "fixing the regex engine wrt
unicode" for an overview of why it cannot be fixed, and how it could be
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