Bugzilla – Attachment 22599 Details for
Bug 10939
ICU does not transliterate polish special characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10939 - ICU does not transliterate polish special characters
0001-Bug-10939-ICU-does-not-transliterate-polish-special-.patch (text/plain), 2.09 KB, created by
Fridolin Somers
on 2013-10-30 14:59:24 UTC
(
hide
)
Description:
Bug 10939 - ICU does not transliterate polish special characters
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-10-30 14:59:24 UTC
Size:
2.09 KB
patch
obsolete
>From bfdcdcffc658a32b79a33d6ef19617d181d28aee Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 30 Oct 2013 15:50:03 +0100 >Subject: [PATCH] Bug 10939 - ICU does not transliterate polish special > characters >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >When indexing records in Zebra using ICU (in etc/default.idx), non latin characters are transliterate to latin one. >It works well with arabic for example but not for polish special characters. >See http://en.wikipedia.org/wiki/Polish_alphabet#Computer_encoding > >Test plan : >- Configure Zebra to use ICU >- Create a record with a polish special character. For example : author "MiÅosz Oskar WladysÅaw de Lubicz" >- Index this record >- Perform a search with original word. For example "MiÅosz" >=> You get the record in results >- Perform a search with translitterate word. For example "Milosz" >=> You get the record in results >--- > etc/zebradb/etc/words-icu.xml | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > >diff --git a/etc/zebradb/etc/words-icu.xml b/etc/zebradb/etc/words-icu.xml >index 38af51f..1eb61ea 100644 >--- a/etc/zebradb/etc/words-icu.xml >+++ b/etc/zebradb/etc/words-icu.xml >@@ -1,4 +1,24 @@ > <icu_chain locale=""> >+ <!-- Polish special characters --> >+ <transliterate rule="{ Ä > a "/> >+ <transliterate rule="{ Ä > a "/> >+ <transliterate rule="{ Ä > c "/> >+ <transliterate rule="{ Ä > c "/> >+ <transliterate rule="{ Ä > e "/> >+ <transliterate rule="{ Ä > e "/> >+ <transliterate rule="{ Å > l "/> >+ <transliterate rule="{ Å > l "/> >+ <transliterate rule="{ Å > n "/> >+ <transliterate rule="{ Å > n "/> >+ <transliterate rule="{ ó > o "/> >+ <transliterate rule="{ à > o "/> >+ <transliterate rule="{ Å > s "/> >+ <transliterate rule="{ Å > s "/> >+ <transliterate rule="{ ź > z "/> >+ <transliterate rule="{ Ź > z "/> >+ <transliterate rule="{ ż > z "/> >+ <transliterate rule="{ Å» > z "/> >+ <!-- Generic rules --> > <transliterate rule="\'>\ "/> > <transliterate rule="[:Number:] { '-' > '' "/> > <transform rule="[:Control:] Any-Remove"/> >-- >1.8.3.2 >
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 10939
:
22599