[Koha-devel] proper sorting order and search for Swedish characters and ISBN search

David Cook dcook at prosentient.com.au
Thu Jan 12 02:51:34 CET 2017


Considering the folk at IndexData are Danish, perhaps they could provide
some insight more directly.

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia

Office: 02 9212 0899
Direct: 02 8005 0595


> -----Original Message-----
> From: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-
> bounces at lists.koha-community.org] On Behalf Of Colin Campbell
> Sent: Friday, 25 November 2016 3:32 AM
> To: koha-devel at lists.koha-community.org
> Subject: Re: [Koha-devel] proper sorting order and search for Swedish
> characters and ISBN search
> 
> On Fri, Nov 04, 2016 at 05:20:03PM +0100, Gaetan Boisson wrote:
> >  Hello,
> >
> > I have been trying several things to try to sort this out, and haven't
> > found a way (yet) that would avoid ugly compromises.
> >
> > The issue is: in Swedish ä, ö and å are separate letters. Not variants
> > of a and o. This means that searching for å shouldn't bring up a. When
> > sorting, they belong to the very end of the alphabet, after z, not along
a and
> o.
> >
> In ICU, setting the locale parameter to "sv" (swedish) should do this. I
cant
> seem to get this to work in yaz-icu but there are tests in the yaz code
base for
> passing locale to strings. However I'm not sure how to correctly specify
this for
> yaz the documentation is way too sketchy.
> 
> Colin
> 
> --
> Colin Campbell
> Chief Software Engineer,
> PTFS Europe Limited
> Content Management and Library Solutions
> +44 (0) 800 756 6803 (phone)
> +44 (0) 7759 633626  (mobile)
> colin.campbell at ptfs-europe.com
> skype: colin_campbell2
> 
> http://www.ptfs-europe.com
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/ git :
http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/




More information about the Koha-devel mailing list