summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/collator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/collator.cc b/src/lib/collator.cc
index e88a91143..7bab36fa6 100644
--- a/src/lib/collator.cc
+++ b/src/lib/collator.cc
@@ -41,6 +41,7 @@ Collator::Collator()
_collator = ucol_open(nullptr, &status);
if (_collator) {
ucol_setAttribute(_collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
+ /* Ignore case and character encoding (and probably some other things) */
ucol_setAttribute(_collator, UCOL_STRENGTH, UCOL_PRIMARY, &status);
ucol_setAttribute(_collator, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status);
}