From c6aa9cab5a1e7d0af3fd9c62e38eebcef1d9fd28 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) --- etc/zebradb/lang_defs/de/sort-string-utf.chr | 47 ++++++++++++++++++++++++++ 1 files changed, 47 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..8063243 --- /dev/null +++ b/etc/zebradb/lang_defs/de/sort-string-utf.chr @@ -0,0 +1,47 @@ +# 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öøpqrstuüvwxyzå +uppercase {0-9}AÄÆBCDEFGHIJKLMNOÖØPQRSTUÜ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) + +# Supplemental mappings + +map (ä) ä +map (æ) æ +map (ø) ø +map (å) å +map (ö) ö +map (Ä) Ä +map (&Aelig;) Æ +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