Skip Menu |

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

Report information
The Basics
Id: 108113
Status: rejected
Priority: 0/
Queue: Unicode-Collate

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cmp() does not take into consideration the 'level', e.g. for case-insensitive comparisons?
I would expect this to return 0, but instead it is -1: Unicode::Collate->new(level => 4)->cmp("Σίσυφος", "ΣΊΣΥΦΟΣ"); These strings are identical except for case, and level 4 collation is case-insensitive.
Never mind, I got the levels backwards! using level 2 or 1 gives the right results.