Front page | perl.perl5.porters |
Postings from March 2007
Re: the utf8 flag
Thread Previous
|
Thread Next
From:
Juerd Waalboer
Date:
March 31, 2007 06:44
Subject:
Re: the utf8 flag
Message ID:
20070331134406.GZ31277@c4.convolution.nl
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/>.
Thread Previous
|
Thread Next