[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    Re: the utf8 flag
From:       Juerd Waalboer <juerd () convolution ! nl>
Date:       2007-03-31 13:44:06
Message-ID: 20070331134406.GZ31277 () c4 ! convolution ! nl
[Download RAW message or body]

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  <juerd@juerd.nl>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy <sales@convolution.nl>

Ik vertrouw stemcomputers niet.
Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic