develooper Front page | perl.perl5.porters | Postings from June 2012

[perl #113006] perllocale Spanish old reference

From:
Father Chrysostomos via RT
Date:
June 29, 2012 22:22
Subject:
[perl #113006] perllocale Spanish old reference
Message ID:
rt-3.6.HEAD-28836-1341033752-1951.113006-15-0@perl.org
On Thu May 24 09:55:16 2012, tom christiansen wrote:
> This is all certainly true.
> 
> However, it is also something that Perl has no control over.
> Do *not* use vendor locales if you want guaranteed behaviour.
> 
>     % perl -MUnicode::Collate::Locale -E 'say for
> Unicode::Collate::Locale->new(locale => "es")->sort(qw(color
> chocolate))'
>     chocolate
>     color
> 
>     % perl -MUnicode::Collate::Locale -E 'say for
> Unicode::Collate::Locale->new(locale => "es__traditional")-
> >sort(qw(color chocolate))'
>     color
>     chocolate

Thank you.  I’ve changed it to ‘traditional Spanish’ in commit f87fa3355a.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=113006



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About