summaryrefslogtreecommitdiff
path: root/src/lib/collator.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-17 17:21:46 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-17 17:21:46 +0100
commit9ec2dbd7c1127406dfc08f9f86ef540cdc820579 (patch)
tree5c2fa553625f3fdb7e076a512d901c702b94274d /src/lib/collator.cc
parent3f2142a90410755d090ace98ada1fee5a869da98 (diff)
Add a comment.
Diffstat (limited to 'src/lib/collator.cc')
-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);
}