From e0d151c076ed2185a2758a0f63baa8ff9d120df2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Serhij=20Dubyk=20=7B=D0=A1=D0=B5=D1=80=D0=B3=D1=96=D0=B9=20?= =?utf8?q?=D0=94=D1=83=D0=B1=D0=B8=D0=BA=7D?= Date: Wed, 28 Mar 2012 02:46:09 +0300 Subject: [PATCH] Bug 7838 - Add sort-string-utf.chr for Ukrainian and Russian Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov --- etc/zebradb/lang_defs/ru/sort-string-utf.chr | 23 ++++++++++++++++++++ etc/zebradb/lang_defs/uk/sort-string-utf.chr | 23 ++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 etc/zebradb/lang_defs/ru/sort-string-utf.chr create mode 100644 etc/zebradb/lang_defs/uk/sort-string-utf.chr diff --git a/etc/zebradb/lang_defs/ru/sort-string-utf.chr b/etc/zebradb/lang_defs/ru/sort-string-utf.chr new file mode 100644 index 0000000000..382a7d7188 --- /dev/null +++ b/etc/zebradb/lang_defs/ru/sort-string-utf.chr @@ -0,0 +1,23 @@ +# Generic character map. +# + +encoding utf-8 + +# Define the basic value-set. *Beware* of changing this without re-indexing +# your databases. +lowercase {0-9}{a-z}абвгґдеэєжзіїийклмнопрстуфхцчшщьыъюяёў +uppercase {0-9}{A-Z}АБВГҐДЕЭЄЖЗІЇИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЮЯЁЎ + +# Breaking characters + +space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~{\x88-\x89} + +# Characters to be considered equivalent for searching purposes. +equivalent ґ(г) +equivalent ё(е) +equivalent ъ(ь) + +# Supplemental mappings + +map (^En\s) @ +map (^Den\s) @ \ No newline at end of file diff --git a/etc/zebradb/lang_defs/uk/sort-string-utf.chr b/etc/zebradb/lang_defs/uk/sort-string-utf.chr new file mode 100644 index 0000000000..382a7d7188 --- /dev/null +++ b/etc/zebradb/lang_defs/uk/sort-string-utf.chr @@ -0,0 +1,23 @@ +# Generic character map. +# + +encoding utf-8 + +# Define the basic value-set. *Beware* of changing this without re-indexing +# your databases. +lowercase {0-9}{a-z}абвгґдеэєжзіїийклмнопрстуфхцчшщьыъюяёў +uppercase {0-9}{A-Z}АБВГҐДЕЭЄЖЗІЇИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЮЯЁЎ + +# Breaking characters + +space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~{\x88-\x89} + +# Characters to be considered equivalent for searching purposes. +equivalent ґ(г) +equivalent ё(е) +equivalent ъ(ь) + +# Supplemental mappings + +map (^En\s) @ +map (^Den\s) @ \ No newline at end of file -- 2.39.5