]> git.koha-community.org Git - koha.git/commit
Bug 14542: Transliterate rule for all single quote forms
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 16 Jul 2015 15:48:14 +0000 (17:48 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 21:02:31 +0000 (22:02 +0100)
commitc7f90a22be27a8960b6429a5a7e66bf77371f8da
treef797d9b6f7ae26f4bd78ab4ac5358878027b602f
parent27d0b204889dacc8cb4ad472a853b7f642b4b0ea
Bug 14542: Transliterate rule for all single quote forms

Single quotes in common language (not in programming) are usually ', but
there is also the form known as &rsquo; in HTML.  See
https://fr.wikipedia.org/wiki/Apostrophe_%28typographie%29

This bug proposes to transliterate all forms into a space.

Test plan :
(I'll use the code &rsquo; instead of the unicode character)
- Without the patch
- Create a record with title : L&rsquo;avion d&rsquo;argile
- Index this record
- Search for "L&rsquo;avion d&rsquo;argile" => You find the record
- Search for "L'avion d'argile" => You do not find the record
- Apply patch
- Search for "L&rsquo;avion d&rsquo;argile" => You find the record
- Search for "L'avion d'argile" => You find the record
- Search for "L avion d argile" => You find the record

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b11eb03a4c9674f4f4dedadaa8790257e30fb1d0)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
etc/zebradb/etc/words-icu.xml