cops/resources/transliteration-data/xfe.php
George Litos d0f0507c99 Transliteration of search text
with the help of drupal transliteration module (https://www.drupal.org/project/transliteration)

please set:
$config ['cops_normalized_search'] = "1";

Issue 49 (https://github.com/seblucas/cops/issues/49) fixed
Goal : search for Honore should return books written by Honoré de Balzac
achieved
2015-05-28 15:16:03 +03:00

21 lines
1.4 KiB
PHP

<?php
$base = array(
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => '', '', '', '~', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x30 => '..', '--', '-', '_', '_', '(', ') ', '{', '} ', '[', '] ', '[(', ')] ', '<<', '>> ', '<',
0x40 => '> ', '[', '] ', '{', '}', NULL, NULL, NULL, NULL, '', '', '', '', '', '', '',
0x50 => ',', ',', '.', '', ';', ':', '?', '!', '-', '(', ')', '{', '}', '{', '}', '#',
0x60 => '&', '*', '+', '-', '<', '>', '=', '', '\\', '$', '%', '@', NULL, NULL, NULL, NULL,
0x70 => '', '', '', NULL, '', NULL, '', '', '', '', '', '', '', '', '', '',
0x80 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x90 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xA0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xB0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xC0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xD0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xE0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xF0 => '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, '',
);