Skip Menu |

This queue is for tickets about the Unicode-Collate CPAN distribution.

Report information
The Basics
Id: 61347
Status: resolved
Priority: 0/
Queue: Unicode-Collate

People
Owner: Nobody in particular
Requestors: PHILKIME [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.59-withoutworldwriteables
Fixed in: (no value)



Subject: Swedish locale incorrect?
Here is a simple test file: use Unicode::Collate::Locale; my $Collator = Unicode::Collate::Locale->new(locale => 'sv_SE'); print "Accepted Locale: ", $Collator->getlocale, "\n"; print join("\n",$Collator->sort('ä', 'å')), "\n"; for me, this prints: Accepted Locale: sv ä å which I think is the incorrect order for Swedish and incorrect as per the sv.pl file included with U::C::L?
Subject: Re: [rt.cpan.org #61347] Swedish locale incorrect?
Date: Wed, 15 Sep 2010 22:51:41 +0900
To: bug-Unicode-Collate [...] rt.cpan.org
From: SADAHIRO Tomoyuki <bqw10602 [...] nifty.com>
On Wed, 15 Sep 2010 05:14:53 -0400 "Philip Kime via RT" <bug-Unicode-Collate@rt.cpan.org> wrote: Show quoted text
> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=61347 > > > > Here is a simple test file: > > use Unicode::Collate::Locale; > > my $Collator = Unicode::Collate::Locale->new(locale => 'sv_SE'); > print "Accepted Locale: ", $Collator->getlocale, "\n"; > print join("\n",$Collator->sort('ä', 'å')), "\n"; > > for me, this prints: > > Accepted Locale: sv > ä > å > > which I think is the incorrect order for Swedish and incorrect as per > the sv.pl file included with U::C::L?
Forgetten use utf8; etc? Of course the correct output should be: Accepted Locale: sv å ä Regards, SADAHIRO Tomoyuki
Sorry, I was being very stupid!