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

Re: [BUG+TEST] Re: perl, the data, and the tf8 flag

Thread Previous | Thread Next
From:
Juerd Waalboer
Date:
April 5, 2007 04:01
Subject:
Re: [BUG+TEST] Re: perl, the data, and the tf8 flag
Message ID:
20070405110052.GY31277@c4.convolution.nl
Dr.Ruud skribis 2007-04-05 10:03 (+0200):
> > In unicode, U+00A0 is whitespace, but former Perls have
> > not considered \xa0 whitespace in unpack.
> U+0085 too. 

Same for the regex engine:

    juerd@lanova:~/tmp$ perl -le'my $a = "\x85"; utf8::upgrade($a); print $a =~ /\s/'
    1
-- 
korajn salutojn,

  juerd waalboer:  perl hacker  <juerd@juerd.nl>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy <sales@convolution.nl>

Ik vertrouw stemcomputers niet.
Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.

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