Front page | perl.perl5.porters |
Postings from August 2010
unicode_strings feature
Thread Next
From:
Eric Brine
Date:
August 7, 2010 17:59
Subject:
unicode_strings feature
Message ID:
AANLkTikPwZTbZ622aZ9=z35spa9zCoxr-2EVEvNRRrAM@mail.gmail.com
Hi,
The documented purpose of unicode_strings is make these equivalent.
>perl -le"my $s = chr(0xE1); utf8::upgrade($s); print $s =~ /[[:alpha:]]/
?1:0"
1
>perl -le"use feature 'unicode_strings'; my $s = chr(0xE1); print $s =~
/[[:alpha:]]/ ?1:0"
0
What am I missing?
Eric Brine
Perl 5.12.1
Thread Next
-
unicode_strings feature
by Eric Brine