develooper Front page | perl.perl5.porters | Postings from August 2010

Re: ordinal

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
August 31, 2010 02:28
Subject:
Re: ordinal
Message ID:
20100831092813.GA13421@klangraum
* karl williamson <public@khwilliamson.com> [2010-07-17 19:55]:
> People have made this assertion before, that Perl is always
> Unicode characters. I don't know where it comes from; I don't
> understand how one could claim that. If it were true, then
> feature unicode_strings would be a no-op

    $a = $b = chr(0xE9);
    utf8::upgrade($b);
    print $a eq $b;
    __END__
    1

That’s where.

The intent AIUI was always that this equality should extend to
all behaviours.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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