Bugzilla – Attachment 34121 Details for
Bug 11927
Add greek support to CHR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11927 - Add greek chr lang_def file
Bug-11927---Add-greek-chr-langdef-file.patch (text/plain), 5.37 KB, created by
Fridolin Somers
on 2014-12-04 14:39:53 UTC
(
hide
)
Description:
Bug 11927 - Add greek chr lang_def file
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2014-12-04 14:39:53 UTC
Size:
5.37 KB
patch
obsolete
>From e3ca7ce49a010839a756a5c366e636823d0cb1f6 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 4 Dec 2014 14:16:58 +0100 >Subject: [PATCH] Bug 11927 - Add greek chr lang_def file > >Add the sort-string-utf.chr for sorting Greek catalog (it can also contain latin records). > >Developped in collaboration with Giannis Kourmoulis <ikourmou@lib.auth.gr> > >Test plan : >- Install using "gr" in "Primary language for Zebra indexing" >- Index a greek catalog >- Sort by title and check sorting is correct >--- > etc/zebradb/lang_defs/gr/sort-string-utf.chr | 319 +++++++++++++++++++++++++++ > 1 file changed, 319 insertions(+) > create mode 100644 etc/zebradb/lang_defs/gr/sort-string-utf.chr > >diff --git a/etc/zebradb/lang_defs/gr/sort-string-utf.chr b/etc/zebradb/lang_defs/gr/sort-string-utf.chr >new file mode 100644 >index 0000000..6b7f37b >--- /dev/null >+++ b/etc/zebradb/lang_defs/gr/sort-string-utf.chr >@@ -0,0 +1,319 @@ >+# Generic character map for Latin and Greek characters. >+ >+# Define the basic value-set. *Beware* of changing this without re-indexing >+# your databases. >+encoding utf-8 >+ >+# basic character set >+lowercase {0-9}{a-z}αβγδεζηθικλμνξοÏÏÏÏÏÏÏÏÏ >+uppercase {0-9}{A-Z}ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎΠΡΣΤΥΦΧΨΩ >+ >+# Breaking characters >+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~â{\x88-\x89}{\x98-\x9C}¡¿«» >+ >+# Characters to be considered equivalent >+equivalent aáà ãåâÄÄȧÇÈÈ >+equivalent ÃÓä(ae) >+equivalent Ä(aa) >+equivalent iÃìîá»Ä©ÄįÇÈÈ >+equivalent ï(ie) >+equivalent Ä«(ii) >+equivalent uúùûũÅųűÇÈÈ >+equivalent ü(ue) >+equivalent Å«(uu) >+equivalent eéèêẽÄÄÄÄÈÈ >+equivalent ëÄ(ee) >+equivalent oóòõôÅǫȯÅÇÈÈ >+equivalent ÅÅöø(oe) >+equivalent Å(oo) >+equivalent αάÎÎ(αÎ)(ÎÎ) >+equivalent εÎÎÎ(εÎ)(ÎÎ) >+equivalent ιίÏÎÎΪ(ιÎ)(ÎÎ) >+equivalent ηήÎÎ(ηÎ)(ÎÎ) >+equivalent οÏÎÎ(οÎ)(ÎÎ) >+equivalent ÏÏÏÎ¥ÎΫ(ÏÎ)(Î¥Î) >+equivalent ÏÏΩÎ(ÏÎ)(ΩÎ) >+equivalent ΣÏÏ >+ >+# Supplemental mappings >+# mapping diacritics to plain ASCII >+# A >+map Ä a >+map Ä a >+map á a >+map à a >+map à a >+map à a >+map ã a >+map à a >+map Ã¥ a >+map à a >+map â a >+map à a >+map ä a >+map à a >+map Ä a >+map Ä a >+map Ä a >+map Ä a >+map ȧ a >+map Ȧ a >+map Ç a >+map Ç a >+map È a >+map È a >+map È a >+map È a >+map â±¥ a >+map Ⱥ a >+# AE >+map Ó (ae) >+map Ó (ae) >+# I >+map Ä« i >+map Ī i >+map ï i >+map à i >+map î i >+map à i >+map à i >+map à i >+map ì i >+map à i >+map á» i >+map á» i >+map Ä© i >+map Ĩ i >+map Ä i >+map Ĭ i >+map į i >+map Ä® i >+map Ç i >+map Ç i >+map È i >+map È i >+map È i >+map È i >+map ɨ i >+map Æ i >+# U >+map Å« u >+map Ū u >+map ü u >+map à u >+map ù u >+map à u >+map ú u >+map à u >+map û u >+map à u >+map Å© u >+map Ũ u >+map Å u >+map Ŭ u >+map ų u >+map Ų u >+map ű u >+map Å° u >+map Ç u >+map Ç u >+map È u >+map È u >+map È u >+map È u >+map Ê u >+map É u >+map uÌ u >+map Å® u >+# E >+map ê e >+map à e >+map ë e >+map à e >+map é e >+map à e >+map è e >+map à e >+map Ä e >+map Ä e >+map ẽ e >+map Ẽ e >+map Ä e >+map Ä e >+map Ä e >+map Ä e >+map Ä e >+map Ä e >+map Ä e >+map Ä e >+map È e >+map È e >+map È e >+map È e >+map É e >+map É e >+# O >+map ô o >+map à o >+map ó o >+map à o >+map ò o >+map à o >+map ö o >+map à o >+map õ o >+map à o >+map ø o >+map à o >+map Å o >+map Å o >+map Ç o >+map Ç o >+map Å o >+map Å o >+map Ç« o >+map Ǫ o >+map ȯ o >+map È® o >+map Å o >+map Å o >+map È o >+map È o >+map È o >+map È o >+map Å (oe) >+map Å (oe) >+# R >+map á¹ r >+map á¹ r >+map rÌ¥ r >+map RÌ¥ r >+map á¹ r >+map á¹ r >+map Å r >+map Å r >+map á¹ r >+map É r >+map É r >+# L >+map ḷ l >+map Ḷ l >+map ḹ l >+map Ḹ l >+map ḻ l >+map Ḻ l >+map Å l >+map Å l >+# N >+map á¹ n >+map á¹ n >+map ñ n >+map à n >+map ǹ n >+map Ǹ n >+map Å n >+map Å n >+map á¹ n >+map á¹ n >+map á¹ n >+map á¹ n >+# T >+map á¹ t >+map Ṭ t >+map ŧ t >+map Ŧ t >+# D >+map Ḡd >+map Ḡd >+map Ä d >+map Ä d >+# S >+map Å s >+map Å s >+map á¹£ s >+map á¹¢ s >+map Å s >+map Å s >+map Å¡ s >+map Å s >+map ṡ s >+map á¹ s >+# M >+map á¹ m >+map á¹ m >+map á¹ m >+map á¹ m >+# H >+map ḥ h >+map Ḥ h >+map Ạh >+map ħ h >+map Ħ h >+# Z >+map ź z >+map Ź z >+map Ạz >+map Ạz >+map ż z >+map Å» z >+map ƶ z >+map Ƶ z >+#C >+map ç c >+map à c >+map Ä c >+map Ä c >+map Ä c >+map Ä c >+map ȼ c >+map È» c >+map Ä c >+map Ä c >+map Ä c >+map Ä c >+# G >+map Ç¥ g >+map Ǥ g >+map Ä¡ g >+map Ä g >+map ǧ g >+map Ǧ g >+map Ä g >+map Ä g >+# K >+map ḵ k >+map Ḵ k >+map Ḱ k >+map ḱ k >+# Y >+map ý y >+map à y >+map É y >+map É y >+ >+## mapping diacritics to plain on greek characters >+map ά α >+map Πα >+map Πε >+map Πε >+map ί ι >+map Πι >+map ή η >+map Πη >+map Ï Î¿ >+map Πο >+map Ï Ï >+map Î Ï >+map Ï Ï >+map Î Ï >+map Σ Ï >+map Ï Ï >+ >+# Remove prefixes >+map (^á½\s) @ >+map (^ἡ\s) @ >+map (^ÏÏ\s) @ >+map (^ÏÏ\s) @ >+map (^οἱ\s) @ >+map (^αἱ\s) @ >+map (^Ïά\s) @ >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11927
:
26165
|
26166
|
34118
|
34120
|
34121
|
34122
|
34123
|
34751
|
34752
|
34753
|
34754
|
35042
|
35043
|
35044
|
35045
|
35046
|
35446