https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947
--- Comment #16 from David Cook <[email protected]> --- (In reply to Katrin Fischer from comment #15) > We also figured out that the expectations might differ from language to > language (or locale) with some of us using letters that present the same way > (thinking of Ä) Yeah, I think that the current patches might not be the way to go. Initially the problem looked like a nail, so a hammer seemed like the right solution, but now I think it's more complicated. Looking at the Perl documentation for "sort", it says the following: "When use locale (but not use locale ':not_characters') is in effect, sort LIST sorts LIST according to the current collation locale. See perllocale." "perllocale" is an interesting read. When using "use locale", "The comparison operators (lt, le, cmp, ge, and gt) use LC_COLLATE. sort() is also affected if used without an explicit comparison function, because it uses cmp by default." "The default behavior is restored with the no locale pragma, or upon reaching the end of the block enclosing use locale. Note that use locale calls may be nested, and that what is in effect within an inner scope will revert to the outer scope's rules at the end of the inner scope." -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
