Koha/etc/zebradb/lang_defs/cs/sort-string-utf.chr
Josef Moravec bd13efd8ac Bug 16952: Czech language definitions for sorting in Zebra
Test plan:
1) Apply patch
2) Create new instance with parameter --zebralang cs
3) Insert some record with basic latin characters and some with "czech" characters (for example: "č" - should be sorted after "c", "š" - should be sorted after "s")
4) Try to search in katalog (staff and opac) and sort by other field then relevance - title or author for instance
5) Records should be sorted correctly by Czech rules
6) Look at code and confirm it is ok

Signed-off-by: radiuscz <radek.siman@centrum.cz>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
I did not test this patch, but trust in the author and signoffer

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-10-28 15:33:00 +00:00

42 lines
1,013 B
Text

# Koha's Zebra character map file for czech
#
encoding utf-8
# Character sort order definition
lowercase {0-9}abcčdefgh(ch)ijklmnopqrřsštuvwxyzž
uppercase {0-9}ABCČDEFGH(Ch)IJKLMNOPQRŘSŠTUVWXYZŽ
# Breaking characters
space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~{\x88-\x89}
# Characters to be considered equivalent for searching purposes.
equivalent aáä
equivalent dď
equivalent eéěë
equivalent ií
equivalent lľł
equivalent nň
equivalent oóö
equivalent sß
equivalent tť
equivalent uůúü
equivalent yý
# Supplemental mappings
map (&auml;) a
map (&aring;) a
map (&ouml;) o
map (&Auml;) A
map (&Aring;) A
map (&Ouml;) O
map âàáäÂÀÁÄ a
map çÇ c
map ďĎ d
map êèéëÊÈÉË e
map îïíÎÏÍ i
map ľĽłŁ l
map ñňŇ n
map ôöóÔÖÓ o
map ß s
map ťŤ t
map ûùúüůÛÜÙÚŮ u
map ýÿÝŸ y