From 1801beaafcb1410042717337d020de2dcc133d7e Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Sun, 9 Dec 2012 23:47:24 +0100 Subject: [PATCH] Bug 9248 - Add a German Zebra language definition file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add etc/zebradb/lang_defs/de/sort-string-utf.chr for German. Bug 9248 - Follow-up for some mapping Changed some mappings (not mapping äöü to aou) Bug 9248 Follow-up: Add ß Add ß Bug 9248 Follow-Up uppercase ẞ Added uppercase ẞ. Squashed. --- etc/zebradb/lang_defs/de/sort-string-utf.chr | 49 ++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) create mode 100644 etc/zebradb/lang_defs/de/sort-string-utf.chr diff --git a/etc/zebradb/lang_defs/de/sort-string-utf.chr b/etc/zebradb/lang_defs/de/sort-string-utf.chr new file mode 100644 index 0000000..32ab476 --- /dev/null +++ b/etc/zebradb/lang_defs/de/sort-string-utf.chr @@ -0,0 +1,49 @@ +# Generic character map. +# + +encoding utf-8 + +# Define the basic value-set. *Beware* of changing this without re-indexing +# your databases. +lowercase {0-9}aäæåbcdefghijklmnoöøpqrsßtuüvwxyz +uppercase {0-9}AÄÆÅBCDEFGHIJKLMNOÖØPQRSẞTUÜVWXYZ + +# Breaking characters + +space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~’{\x88-\x89}{\x98-\x9C} + +# Characters to be considered equivalent for searching purposes. +equivalent æä(ae) +equivalent øö(oe) +equivalent å(aa) +equivalent ü(ue) +equivalent ß(ss) + +# Supplemental mappings + +map (ä) ä +map (æ) æ +map (ø) ø +map (å) å +map (ö) ö +map (Ä) Ä +map (&Aelig;) Æ +map (Ø) Ø +map (Å) Å +map (Ö) Ö +map (ü) ü +map (Ü) Ü +map (ß) ß + +map âàáÂÁÀ a +map êèéëÊÈÉË e +map îïíÎÏ i +map ôóòÔÓÒ o +map ûùúûÛÚÙ u +map çÇ c + +map (^Der\s) @ +map (^Die\s) @ +map (^Das\s) @ +map (^Ein\s) @ +map (^Eine\s) @ -- 1.7.2.5