From 9ec2dbd7c1127406dfc08f9f86ef540cdc820579 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 17 Jan 2023 17:21:46 +0100 Subject: [PATCH] Add a comment. --- src/lib/collator.cc | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2