List Info

Thread: Re: the utf8 flag




Re: the utf8 flag
user name
2007-03-31 08:44:06
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  <juerdjuerd.nl>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy
<salesconvolution.nl>

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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )