diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-17 17:21:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-17 17:21:46 +0100 |
| commit | 9ec2dbd7c1127406dfc08f9f86ef540cdc820579 (patch) | |
| tree | 5c2fa553625f3fdb7e076a512d901c702b94274d /src/lib | |
| parent | 3f2142a90410755d090ace98ada1fee5a869da98 (diff) | |
Add a comment.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/collator.cc | 1 |
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); } |
