summaryrefslogtreecommitdiff
path: root/desktop/Library_deployment.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-01-08 01:02:20 +0200
committerEike Rathke <erack@redhat.com>2017-01-17 10:52:31 +0000
commit278eabab2b5bdc95a51d501fcdb46c216ded3baa (patch)
tree9b018f5644113c1b3fe6bbc86d757966b4aa99b3 /desktop/Library_deployment.mk
parent7fa20da88a4778bdf20d6ca0491fe97ae03ab554 (diff)
tdf#105170: Ignore diacritics on precomposed chars
When ignoring diacritics, the old code just ignore combining marks which works when using decomposed forms (NFD) but does not work for precomposed forms (NFC). Instead, we now decompose, strip marks, then recompose, and use a nice icu::Transliterator that does the hard work for us. As a bonus, we should now handle surrogate pairs fine (most of the time). The new code (in ignoreDiacritics_CTL::folding()) might not be as efficient as the old code that used transliteration_Ignore::folding(), but it is less ugly and more easier to resonate with, or so I hope. Change-Id: If48c8be30527580cdd68f20b40a6533c5f258d83 Reviewed-on: https://gerrit.libreoffice.org/32826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'desktop/Library_deployment.mk')
0 files changed, 0 insertions, 0 deletions